Dart API Referencedart:coreFutureAlreadyCompleteException

FutureAlreadyCompleteException class

Thrown if a completer tries to set the value on a future that is already complete.

class FutureAlreadyCompleteException implements Exception {
  FutureAlreadyCompleteException() {}
  String toString() => "Exception: future already completed";
}

Implements

Exception

Constructors

new FutureAlreadyCompleteException() #

FutureAlreadyCompleteException() {}

Methods

String toString() #

Returns a string representation of this object.

docs inherited from Object
String toString() => "Exception: future already completed";