unformatted static method

String unformatted(
  1. String text
)

Implementation

static String unformatted(String text) {
  return text.replaceAll(RegExp(r'[^\d+]'), '');
}