hasError property

bool get hasError

Implementation

bool get hasError {
  return _error?.isNotEmpty == true;
}