UseCaseExecutor class

Constructors

UseCaseExecutor.new({bool debug = false})
factory

Properties

debug bool
final
hashCode int
The hash code for this object.
no setterinherited
isExecuting DartValueNotifier<bool>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add<T extends UseCase<Object?, dynamic>>(T uc, UseCaseObserver? observer, [dynamic args]) → void
broadcast<T extends UseCase<Object?, dynamic>>(T useCase, [dynamic args]) → void
cleanQueue() → void
flush() Future<void>
hasSubscription(UseCaseSubscription<UseCase<Object?, dynamic>> sub) bool
log(String message) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
subscribe<T extends UseCase<Object?, dynamic>>(UseCaseObserver observer) UseCaseSubscription<UseCase<Object?, dynamic>>
toString() String
A string representation of this object.
inherited
unsubscribe(UseCaseSubscription<UseCase<Object?, dynamic>> sub) → void

Operators

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

Static Properties

instance UseCaseExecutor?
getter/setter pair