BeforeSideEffect<STATE extends Object, ACTION extends Object> class abstract interface

A type of SideEffect executed after the ACTION is dispatched, before the STATE is changed, and regardless of whether the transition is made.

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

execute(STATE currentState, ACTION action) Future<void>
The method executed after the instance of BeforeSideEffect is generated by BeforeSideEffectCreator. The current STATE and the ACTION when this SideEffect was generated are passed as arguments.
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