RegexValidatorConfig constructor

const RegexValidatorConfig({
  1. required String pattern,
  2. List<String> examples = const [],
})

Implementation

const RegexValidatorConfig({
  required this.pattern,
  this.examples = const [],
}) : super(type: ValidatorType.regex);