phoneNumberTypeListToJson function
Implementation
List<String> phoneNumberTypeListToJson(
List<enums.PhoneNumberType>? phoneNumberType) {
if (phoneNumberType == null) {
return [];
}
return phoneNumberType.map((e) => enums.$PhoneNumberTypeMap[e]!).toList();
}