unmaskText method
Unmask the text
.
Implementation
String unmaskText(String text) {
return MaskFunctionTextInputFormatter(
maskFunction: ({required TextEditingValue oldValue, required TextEditingValue newValue}) =>
_mask,
filter: _maskFilter,
initialText: text,
).getUnmaskedText();
}