digitsOnly property

String get digitsOnly

Implementation

String get digitsOnly => replaceAll(RegExp(r'[^\d]'), '');