getFirstErrorMessage method
Get the error message for the validation failure.
Implementation
String? getFirstErrorMessage() {
if (errorResponses.isEmpty) {
return null;
}
return _formatMessage(errorResponses.first.rule);
}
Get the error message for the validation failure.
String? getFirstErrorMessage() {
if (errorResponses.isEmpty) {
return null;
}
return _formatMessage(errorResponses.first.rule);
}