# PatternContentValidator constructor

PatternContentValidator({

1. String allowedCharacters = "",
2. required String pattern,
3. bool matchSubstring = false,
4. PatternGrammar patternGrammar = PatternGrammar.WILDCARD,

})

## Implementation

    PatternContentValidator({
      this.allowedCharacters = "",
      required this.pattern,
      this.matchSubstring = false,
      this.patternGrammar = PatternGrammar.WILDCARD,
    }) : super();