Dispatcher class

A class that contains action dispatching info and methods to controller dispatching flow

Constructors

Dispatcher({required Cubix cubix, required ActionBase action, required CancelToken cancelToken, required List<Dispatcher> dispatching, required ActionData data})

Properties

action ActionBase
dispatching action object
final
cancelled bool
no setter
cancelToken CancelToken
cancel token is passed from cubix.dispatch() method
final
cubix Cubix
final
data ActionData
persistent data for dispatching calls
final
dispatching List<Dispatcher>
contains all dispatching dispatchers
final
done bool
no setter
error Object?
no setter
hashCode int
The hash code for this object.
no setterinherited
result Object?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel() → void
dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on({VoidCallback? success, VoidCallback? end, VoidCallback? done, VoidCallback? cancel, VoidCallback? dispose, void error(Object)?}) → void
onDone(Object? error, Object? result) → void
toString() String
A string representation of this object.
inherited

Operators

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