Gets the current value of the $writable config. If it does not exist, then null is returned.
Source
String get writable => configs[r"$writable"];
Sets the value of the writable config. If this is set to null, then the writable config is removed.
Source
set writable(value) {
if (value == null) {
configs.remove(r"$writable");
} else if (value is bool) {
if (value) {
configs[r"$writable"] = "write";
} else {
configs.remove(r"$writable");
}
} else {
configs[r"$writable"] = value.toString();
}
updateList(r"$writable");
}