errorMessage property

String? get errorMessage

Implementation

String? get errorMessage {
  if (isValid || isPure) return null;
  if (displayError == TermsAndConditionsError.notAccepted) {
    return 'Debes aceptar los términos y condiciones';
  }
  return null;
}