isCancelled property

bool get isCancelled

Whether or not the token has been cancelled.

Implementation

bool get isCancelled => _cancelledException != null;