SafeCompleter<T extends Object> class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCompleted → bool
-
Checks if the value has been set or if the SafeCompleter is completed.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
complete(
FutureOr< T> value) → Resolvable<T> -
Completes the operation with the provided
value
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolvable(
) → Resolvable< T> - Returns a Resolvable that will complete when this SafeCompleter is completed.
-
resolve(
Resolvable< T> resolvable) → Resolvable<T> -
Completes the operation with the provided
resolvable
. -
toString(
) → String -
A string representation of this object.
inherited
-
transf<
R extends Object> ([R noFuturesAllowed(T e)?]) → SafeCompleter< R> - Transforms the type of the value managed by this SafeCompleter.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited