MaskingStrategy constructor
const
MaskingStrategy({})
Creates a masking strategy describing how many characters to keep visible.
Implementation
const MaskingStrategy({
this.maskChar = '*',
this.keepStart = 1,
this.keepEnd = 1,
this.minMasked = 2,
}) : assert(keepStart >= 0, 'keepStart must be non-negative'),
assert(keepEnd >= 0, 'keepEnd must be non-negative'),
assert(minMasked >= 0, 'minMasked must be non-negative');