removeNumbers method

String? removeNumbers()

Implementation

String? removeNumbers() {
  if (this == null) return null;
  if (this!.isEmpty) return this;
  return this!.replaceAll(RegExp(r'[0-9]'), '');
}