isError property
bool
get
isError
Implementation
bool get isError {
if (code == -99) return false;
if (code != null && code != 0) return true;
if (subTasks.any((task) => task.isError)) return true;
return false;
}