CompleterExtension<T> extension
- on
Methods
-
completeErrorSafe(
Object error, [StackTrace? stackTrace]) → bool -
Calls completeError only if ![isCompleted] and returns
true
, otherwise just returnsfalse
. -
completeSafe(
[FutureOr< T> ? value]) → bool -
Calls complete only if ![isCompleted] and returns
true
, otherwise just returnsfalse
.