toShortPhoneFormat property

int get toShortPhoneFormat

Get only digits from toString() usefull for formated phone extract

Implementation

int get toShortPhoneFormat {
  final intValue = int.parse(this.replaceAll(RegExp('[^0-9]'), ''));
  return intValue;
}