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

StoreChangeHandlerBuilder allows you to listen to the Store and perform handlers for a given set of actions with many different payload types, while maintaining type safety. Each StoreChangeHandler added with add

Constructors

StoreChangeHandlerBuilder()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add<Payload>(ActionName<Payload> actionName, StoreChangeHandler<Payload, State, StateBuilder> handler) → void
Registers handler function to the given actionName
build(Store<State, StateBuilder, Actions> store) → void
build sets up a subscription to the registered actions
dispose() → void
dispose cancels the subscription to the store
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