setInputErrorText method

void setInputErrorText(
  1. String? errorText
)

Implementation

void setInputErrorText(String? errorText) {
  displayErrorPanel = (errorText != null);
  inputError = errorText ?? '';
}