hasError method

bool hasError()

Implementation

bool hasError() {
  return errorCode?.isNotEmpty == true;
}