isCompleted property

bool get isCompleted

Indicates whether the completer has been fulfilled with a value or error.

Implementation

@pragma('vm:prefer-inline')
bool get isCompleted => _completer.isCompleted || _value.isSome();