hasError property
Returns true
if this task execution has finished with an error.
Implementation
bool get hasError => isFinished && _error != null;
Returns true
if this task execution has finished with an error.
bool get hasError => isFinished && _error != null;