tryValidate method
Validates the form field value
Implementation
@override
String? tryValidate() {
final parsedExtra = num.tryParse(extra);
if (parsedExtra == null) return "Max value not a valid number";
if (value.length < parsedExtra) {
if (customMessage == null) {
return buildMessage(ValidatorStrings.min, attribute);
}
return customMessage;
}
return null;
}