strip method

String? strip(
  1. String? value
)

Implementation

String? strip(final String? value) => value?.replaceAll(RegExp(r'\D'), '');