validate method

  1. @override
String? validate()
override

Implementation

@override
String? validate() {
  if (!value.startsWith(extra)) {
    return FV.buildMessage(customMessage ?? FV.startsWith, attribute, extra);
  }
  return null;
}