checkState method

void checkState(
  1. void expected(
    1. State
    )
)

Asserts the current state using the expected callback.

Implementation

void checkState(void Function(State) expected) {
  expected(_store.state);
  Reducer<int?, dynamic, dynamic>.empty();
}