modify method

void modify(
  1. void modify(
    1. Mutable<T> state
    )
)
inherited

Modifies the state with a callback.

Implementation

void modify(void Function(Mutable<T> state) modify) {
  modify(_data);
  notify();
}