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
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state → State
state returns the current state
no setter

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited