isCancelled property

bool get isCancelled

Returns true if the request was cancelled.

Implementation

bool get isCancelled => type == ClientErrorType.cancelled;