NoSpecialCharsRule constructor

const NoSpecialCharsRule(
  1. String message, {
  2. String allowed = '',
})

Creates a new NoSpecialCharsRule with the given message and allowed.

Implementation

const NoSpecialCharsRule(this.message, {this.allowed = ''});