phoneTypeListFromJson function
Implementation
List<enums.PhoneType> phoneTypeListFromJson(
List? phoneType, [
List<enums.PhoneType>? defaultValue,
]) {
if (phoneType == null) {
return defaultValue ?? [];
}
return phoneType.map((e) => phoneTypeFromJson(e.toString())).toList();
}