VoidCubix class Null safety
- Inheritance
- Object
- Dependency
- Cubix<
void> - VoidCubix
Constructors
Properties
-
cubit
→ CubitWrapper<
void> -
final, inherited
-
dispatchers
→ List<
Dispatcher> -
read-only, inherited
- disposed → bool
-
read-only, inherited
- error → Object?
-
return last dispatching error
read-only, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- key → Object?
-
read-only, inherited
- resolvedType → Type
-
read-only, inherited
- resolver → DependencyResolver
-
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- state ↔ void
-
set state
@protected, read / write, inherited
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 non-existent 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 -
@protected, inherited
-
onError(
Object error, StackTrace stackTrace) → void -
inherited
-
onInit(
) → void -
@protected, 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