BannedPattern constructor

BannedPattern({
  1. required String pattern,
  2. required String reason,
  3. bool isRegex = false,
  4. List<String> locales = const [],
  5. List<String> except = const [],
})

Implementation

BannedPattern({
  required this.pattern,
  required this.reason,
  this.isRegex = false,
  this.locales = const [],
  this.except = const [],
});