PIIPattern constructor

const PIIPattern({
  1. required PIIType type,
  2. required RegExp regex,
  3. required String replacement,
  4. String description = '',
  5. bool validator(
    1. String match
    )?,
})

Creates a PIIPattern with the required fields.

Implementation

const PIIPattern({
  required this.type,
  required this.regex,
  required this.replacement,
  this.description = '',
  this.validator,
});