clear method

void clear()

Clear masked text of the formatter Note: you need to call this method if you clear the text of the TextField because it doesn't call the formatter when it has empty text

Implementation

void clear() {
  _resultTextMasked = "";
  _resultTextArray.clear();
}