ActionDispatcher<P> class
ActionDispatcher dispatches an action with the name provided to the constructor and the payload supplied when called. You will notice ActionDispatcher is an object, however it is to be used like a function. In the following example increment is an action dispatcher, that when called dispatches an action to the redux store with the name increment and the payload 3.
store.actions.increment(3);
Constructors
- ActionDispatcher.new(String _name)
Properties
Methods
-
call(
P payload) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setDispatcher(
Dispatcher dispatcher) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited