modify method
Modifies the state with a callback.
Implementation
void modify(void Function(Mutable<T> state) modify) {
modify(_data);
notify();
}
Modifies the state with a callback.
void modify(void Function(Mutable<T> state) modify) {
modify(_data);
notify();
}