setValue method
Save to persistent cache
Implementation
void setValue(dynamic newValue, {String? forKey}) {
assert(forKey != null);
if (forKey is String) {
_storage[forKey] = newValue;
_save();
}
}
Save to persistent cache
void setValue(dynamic newValue, {String? forKey}) {
assert(forKey != null);
if (forKey is String) {
_storage[forKey] = newValue;
_save();
}
}