DerivedFutureBeacon<T> class

Inheritance

Constructors

DerivedFutureBeacon({bool manualStart = false})

Properties

hashCode int
The hash code for this object.
no setterinherited
isNullable bool
no setterinherited
listeners → Listerners
finalinherited
previousValue AsyncValue<T>?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status ReadableBeacon<DerivedFutureStatus>
no setter
value AsyncValue<T>
no setterinherited

Methods

$setInternalEffectUnsubscriber(VoidCallback unsubscribe) → void
inherited
dispose() → void
Clears all registered listeners and reset the beacon to its initial state.
forceSetValue(AsyncValue<T> newValue) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
peek() AsyncValue<T>
inherited
reset() → void
Resets the beacon by calling the Future again
override
setAsyncValue(int exeID, AsyncValue<T> value) → void
start() → void
Starts executing an idle Future
startLoading() int
subscribe(void callback(AsyncValue<T>), {bool startNow = false}) → VoidCallback
Subscribes to changes in the beacon returns a function that can be called to unsubscribe
inherited
toString() String
A string representation of this object.
inherited
unsubscribe() → void
inherited

Operators

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