StringMask constructor
StringMask(
- String pattern, {
- MaskOptions? options,
Implementation
StringMask(this.pattern, {this.options}) {
if (options == null) {
this.options = new MaskOptions();
}
if (this.options?.reverse == null) {
this.options?.reverse = false;
}
if (this.options?.usedefaults == null) {
this.options?.usedefaults = this.options?.reverse;
}
this.pattern = pattern;
}