set<V> method
Sets key
to value
.
Implementation
V? set<V>(String key, V? value) {
var prev = _properties[key];
_properties[key] = value;
_notifyChange(StateOperation.set, key, value);
return prev as V?;
}
Sets key
to value
.
V? set<V>(String key, V? value) {
var prev = _properties[key];
_properties[key] = value;
_notifyChange(StateOperation.set, key, value);
return prev as V?;
}