toPhoneNumberType method
Implementation
PhoneNumberType toPhoneNumberType() {
switch (this) {
case 'Local':
return PhoneNumberType.local;
case 'TollFree':
return PhoneNumberType.tollFree;
}
throw Exception('$this is not known in enum PhoneNumberType');
}