SafeCompleter<T> class
- Implemented types
-
- Completer<
T>
- Completer<
Constructors
- SafeCompleter([String? debugLabel])
- SafeCompleter.stopped([String? debugLabel])
Properties
- debugLabel → String?
-
final
-
future
→ Future<
T> -
The future that is completed by this completer.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- isActive → bool
-
no setter
- isCompleted → bool
-
Whether the future has been completed.
no setteroverride
- isNotComplete → bool
-
no setter
- isNotStarted → bool
-
no setter
- isStarted → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
after<
R> (R exec()) → FutureOr< R> -
complete(
[FutureOr< T> ? value]) → void -
Completes future with the supplied values.
override
-
completeError(
Object error, [StackTrace? stackTrace]) → void -
Complete future with an error.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
[T? value]) → void -
start(
) → void -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited