clean property

String clean

clean

Removes all non-numeric characters from the string.

Implementation

String get clean => replaceAll(RegExp(r'\s+'), '');