digitsOnly property

String get digitsOnly

Implementation

String get digitsOnly => replaceAll(RegExp(r'[^0-9]'), '');