updateText method

void updateText(
  1. String text
)

Implementation

void updateText(String text) {
  if (text != null) {
    this.text = _applyMask(mask, text);
  } else {
    this.text = '';
  }

  _lastUpdatedText = this.text;
}