storeValue property
T?
get
storeValue
Implementation
T? get storeValue {
var value = service.store[key];
if (value is T) {
return value;
} else if (fromJson case var fromJson? when value != null) {
try {
return fromJson(value);
} catch (e) {
print('Fail to read value for $key: $e');
return null;
}
}
return null;
}
set
storeValue
(T? value)
Implementation
set storeValue(T? value) {
service._storeValue(this, value);
_update();
}