TypedMiddleware<State, Action> constructor

TypedMiddleware<State, Action>(
  1. void middleware(
    1. Store<State> store,
    2. Action action,
    3. NextDispatcher next
    )
)

Create a Middleware that is only executed when the dispatched action matches the Action type.

Implementation

TypedMiddleware(this.middleware);