removeCurrency method

String removeCurrency(
  1. String text
)

Implementation

String removeCurrency(String text) => text.replaceAll(".", "");