StateMachineTester<STATE extends Object, ACTION extends Object> constructor

StateMachineTester<STATE extends Object, ACTION extends Object>({
  1. required GraphBuilder<STATE, ACTION> graphBuilder,
  2. List<SideEffectCreator<STATE, ACTION, SideEffect>> sideEffectCreators = const [],
})

Creates a state machine tester.

Implementation

StateMachineTester({
  required GraphBuilder<STATE, ACTION> graphBuilder,
  List<SideEffectCreator<STATE, ACTION, SideEffect>> sideEffectCreators =
      const [],
})  : _sideEffectCreators = sideEffectCreators,
      _graphBuilder = graphBuilder;