unmaskedValue property Null safety

String unmaskedValue

Implementation

String get unmaskedValue {
  _prepareMask();
  final stringBuffer = StringBuffer();
  for (var i = 0; i < _maskedValue.length; i++) {
    var char = _maskedValue[i];
    if (!_separators.any((s) => s.value == char)) {
      stringBuffer.write(char);
    }
  }
  return stringBuffer.toString();
}