value property
T
get
value
Implementation
T get value => _value ?? defaultValue;
set
value
(T value)
Implementation
set value(T value) {
// * All string options are paths at the moment, sanitize the path
if (value is String && value.contains('/')) {
_value = _addRoot(_removeEndSlash(value)) as T;
} else {
_value = value;
}
}