VoidCubix class abstract

Inheritance

Constructors

VoidCubix()

Properties

cubit CubitWrapper<void>
finalinherited
dispatchers List<Dispatcher>
no setterinherited
disposed bool
no setterinherited
error Object?
return last dispatching error
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
key Object?
no setterinherited
resolvedType Type
no setterinherited
resolver DependencyResolver
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state ↔ void
set state
getter/setter pairinherited

Methods

bindAction(ActionBase action, {CancelToken? cancelToken}) Dispatcher
inherited
bindDispatcher(Dispatcher dispatcher) → void
inherited
cancel() → void
cancel all dispatching actions
inherited
dispatch<TResult extends Object?>(ActionBase<TResult, void> action, {CancelToken? cancelToken}) → TResult
dispatch specified action and return the result of action body
inherited
dispatchGeneric(ActionBase action, {CancelToken? cancelToken}) → void
inherited
dispose() → void
inherited
emit(Object event) → void
inherited
inject(DependencyResolver resolver, {Object? key, Type? resolvedType}) → void
inherited
loading<TAction extends Object?>([bool predicate(ActionBase)?]) bool
return true if there is any action dispatching
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onChange(Change<void> change) → void
inherited
onDispatch(ActionBase action) → void
this method will be called whenever action dispatches
inherited
onDispose() → void
inherited
onError(Object error, StackTrace stackTrace) → void
inherited
onInit() → void
inherited
remove() → void
inherited
resolve<T extends IDependency>(T create(), {Object? family}) → T
inherited
toString() String
A string representation of this object.
inherited
wait() Future<void>
inherited
watch(List<Cubix> cubixes, void syncFn(CancelToken cancelToken)) VoidCallback
inherited
when(void callback(Object action)) VoidCallback
inherited

Operators

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