RegExpValidation constructor

RegExpValidation(
  1. RegExp regExp,
  2. String errorText
)

Implementation

RegExpValidation(RegExp regExp, String errorText)
    : super((s) => !regExp.hasMatch(s), errorText);