updateText method
Implementation
void updateText(String text) {
if (text.isNotEmpty) {
this.text = _applyMask(mask, text);
} else {
this.text = '';
}
_lastUpdatedText = this.text;
}
void updateText(String text) {
if (text.isNotEmpty) {
this.text = _applyMask(mask, text);
} else {
this.text = '';
}
_lastUpdatedText = this.text;
}