mocks property
-
null
to disable dispatching the action of a certain type. -
A
MockAction<St>
instance to dispatch that action instead, and provide the original action as a getter to the mocked action. -
A
ReduxAction<St>
instance to dispatch that mocked action instead. -
ReduxAction<St> Function(ReduxAction<St>)
to create a mock from the original action. -
St Function(ReduxAction<St>, St)
orFuture<St> Function(ReduxAction<St>, St)
to modify the state directly.
Implementation
Map<Type, dynamic>? mocks;