isCompleted property
Whether the future has been completed.
Reflects whether complete or completeError has been called. A true
value doesn't necessarily mean that listeners of this future have been invoked yet, either because the completer usually waits until a later microtask to propagate the result, or because complete was called with a future that hasn't completed yet.
When this value is true
, complete and completeError must not be called again.
Implementation
bool get isCompleted;
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-async/Completer/isCompleted.html