hasError property

bool get hasError

Whether the computed value has an error

Implementation

bool get hasError {
  _recomputeIfDirty();
  return _lastError != null;
}