MiddlewareApi<State extends Built<State, StateBuilder>, StateBuilder extends Builder<State, StateBuilder>, Actions extends ReduxActions> class

MiddlewareApi put in scope to your Middleware function by redux. When using MiddlewareBuilder (recommended) MiddlewareApi is passed to your MiddlewareHandler

Constructors

MiddlewareApi(Store<State, StateBuilder, Actions> _store)
factory

Properties

actions → Actions
actions returns the actions synced with this redux store
read-only
state → State
state returns the current state
read-only
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited