replace method
Updates the value of item
.
This only works when the ids of the new and old value are identical.
Implementation
@override
void replace(T item, {bool notify = true}) {
super.replace(item);
if (notify) notifyListeners();
}
Updates the value of item
.
This only works when the ids of the new and old value are identical.
@override
void replace(T item, {bool notify = true}) {
super.replace(item);
if (notify) notifyListeners();
}