validatorMessage method

  1. @override
String validatorMessage(
  1. String fieldName
)
override

Retrieves the validator message for the field.

  • fieldName: The name or label of the form field being validated.

Subclasses should implement this method to provide specific validation messages.

Implementation

@override
String validatorMessage(String fieldName) =>
    l10n.booleanValidationMessage(fieldName);