ReqMatch constructor

ReqMatch(
  1. String pattern, {
  2. String? blank,
  3. String? mis,
})

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);