validationMessage property

Map<String, String> get validationMessage

A getter that returns a map of validation message for rule.

This getter provides a map where the keys represent rule key, and the corresponding values are strings representing custom validation messages to replace the rule's default validation message.

Example usage:

Map<String, String> get labels => {
  'required': 'This :attribute cannot be empty',
};

Implementation

Map<String, String> get validationMessage => {};