LifecycleAwareBase class abstract

Implemented types
Implementers
Available extensions

Constructors

LifecycleAwareBase()

Properties

hashCode → int
The hash code for this object.
no setterinherited
log → Logger
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

autoStream<T>(LifecycleCallback<Stream<T>> stream, {bool cancelOnError = false}) → Future

Available on LifecycleAwareBase, provided by the LifecycleAwareBaseExt extension

autoSubscribe(String name, LifecycleCallback<StreamSubscription> generate) → Future

Available on LifecycleAwareBase, provided by the LifecycleAwareBaseExt extension

autoTimer(String name, LifecycleCallback<Timer> generate) → void

Available on LifecycleAwareBase, provided by the LifecycleAwareBaseExt extension

dispose() → Future
doShutdown() → Future
exec<R>(R block()) → R?
isShuttingDown() → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDestroy(String name, LifecycleCallback destroy, {Duration? wait}) → void

Available on LifecycleAwareBase, provided by the LifecycleAwareBaseExt extension

onLogin(AsyncOrCallback onLogin) → void
onLogout(AsyncOrCallback onLogout) → void
onShutdown(_AsyncCallback callback) → void
onStartup(_AsyncCallback callback) → void
registerDisposer(FutureOr dispose()) → void
inherited
registerLoginHooks(IAuthState state) → void
removeDisposer(FutureOr dispose()) → void
inherited
toString() → String
A string representation of this object.
inherited

Operators

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