hasError method

bool hasError()

Implementation

bool hasError() {
  if (errorText != null && errorText != '') {
    return true;
  }
  return false;
}