isError property

bool get isError

Implementation

bool get isError {
  return status == Status.error ||
      (_error?.isNotEmpty ?? status.isExceptionMode);
}