CancelledAction class

An action that middleware and afterware methods can return in order to cancel (or "swallow") an action already dispatched to their ReduxStore. Because rebloc uses a stream to track Actions through the dispatch->middleware->reducer->afterware pipeline, a middleware/afterware method should return something. By returning an instance of this class (which is private to this library), a developer can in effect cancel actions via middleware.

Inheritance

Constructors

CancelledAction()

Properties

currentTrace Trace
read / write, inherited
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
timestamp int
read / write, inherited

Methods

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

Operators

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