isCancelled property

bool isCancelled

Whether or not the completer was cancelled.

Implementation

bool get isCancelled => _cancellationToken?.isCancelled ?? false;