setValidationMessage method Null safety

void setValidationMessage(
  1. String? value
)

Implementation

void setValidationMessage(String? value) {
  _validationMessage = value;
  _showValidation = _validationMessage?.isNotEmpty ?? false;
}