updateState method

void updateState(
  1. T updater(
    1. T
    )
)

Update store state with a function

Implementation

void updateState(T Function(T) updater) {
  _store.updateState(updater);
}