onValidator method

  1. @mustCallSuper
  2. @protected
String? onValidator(
  1. String? v
)

Override to return a different field value when validating. Return null if validated. Error message if not.

Implementation

@mustCallSuper
@protected
String? onValidator(String? v) {
  const String? valid = null;
  return valid;
}