hasError property

bool get hasError
inherited

Returns true if this task execution has finished with an error.

Implementation

bool get hasError => isFinished && _error != null;