ReqMatch constructor
Constrains input data to values that the pattern pattern
has a match.
blank
the error message in case of a null or empty input value.
mis
the error message in case of a mismatch between the input data and
pattern
.
Implementation
ReqMatch(String pattern, {String? blank, String? mis})
: this.regExp(RegExp(pattern), blank: blank, mis: mis);