SafeCompleter<T>  class 
 
Safe Completer
A wrapper around Completer that ensures the completer is resolved with Completer.complete or Completer.completeError at most once.
- Implemented types
- 
    - Completer<T> 
 
- Completer<
Constructors
- SafeCompleter()
- 
          Creates a safe completer by calling Completer.
            factory
- SafeCompleter.sync()
- 
          Creates a safe completer by calling Completer.sync.
            factory
Properties
- 
  future
  → Future<T> 
- 
  The future that is completed by this completer.
  no setteroverride
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- isCompleted → bool
- 
  Whether the future has been completed.
  no setteroverride
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  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
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited