getFirstErrorMessage method
Get the error message for the validation failure.
Implementation
String? getFirstErrorMessage() {
final FormValidationError? error = firstError;
if (error == null) return null;
return _formatMessage(error.rule);
}
Get the error message for the validation failure.
String? getFirstErrorMessage() {
final FormValidationError? error = firstError;
if (error == null) return null;
return _formatMessage(error.rule);
}