isCancelled property

bool get isCancelled

Whether cancellation has been requested.

Implementation

bool get isCancelled => _completer.isCompleted;