phoneNumber property

String phoneNumber

Implementation

String get phoneNumber {
  if (isEmpty) {
    return '';
  }

  for (var c in Constants.countryCodes.entries) {
    if (startsWith(c.key)) {
      return substring(c.key.length);
    }
  }
  return '';
}