isCancelled property

bool isCancelled

Checks if the current state is Error and the error is a CancelledException.

Implementation

bool get isCancelled => value.isCancelled;