countryCodeListFromJson function
Implementation
List<enums.CountryCode> countryCodeListFromJson(List? countryCode) {
if (countryCode == null) {
return [];
}
return countryCode.map((e) => countryCodeFromJson(e.toString())).toList();
}
List<enums.CountryCode> countryCodeListFromJson(List? countryCode) {
if (countryCode == null) {
return [];
}
return countryCode.map((e) => countryCodeFromJson(e.toString())).toList();
}