message property

  1. @override
String? message
getter/setter pairoverride

The error message to display when validation fails. Use {{attribute}} as a placeholder for the field name.

Implementation

@override
String? message = "The {{attribute}} must match.";