removeNonNumeric method

String removeNonNumeric(
  1. dynamic s
)

Implementation

String removeNonNumeric(s) => s.replaceAll(RegExp(r"\D"), "");