isDone property

bool get isDone

Whether the fetch has completed (successfully or with failure).

Implementation

bool get isDone => this is FetchProgressCompleted || this is FetchProgressFailed;