onlyNumbers method

String onlyNumbers()

Sadece rakam bırakır

Implementation

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