message method
The message that will be displayed if the validation fails. This provides feedback to the user indicating that the field is required.
Implementation
@override
String message(dynamic value, [List<String>? options]) =>
'This field is required.';