add method
Assigns value
to key
.
Implementation
void add(
E key,
T value, {
bool doNotifyListeners = true,
}) {
_value[key] = value;
if (doNotifyListeners) {
notifyListeners();
}
}
Assigns value
to key
.
void add(
E key,
T value, {
bool doNotifyListeners = true,
}) {
_value[key] = value;
if (doNotifyListeners) {
notifyListeners();
}
}