MockStateMachine<STATE extends Object, ACTION extends Object> constructor

MockStateMachine<STATE extends Object, ACTION extends Object>(
  1. STATE initialState
)

Creates a mock state machine.

Implementation

MockStateMachine(STATE initialState) : _state = initialState {
  _controller.close();
}