partnerEndCustomerStatusListFromJson function
List<PartnerEndCustomerStatus>
partnerEndCustomerStatusListFromJson(
- List? partnerEndCustomerStatus, [
- List<
PartnerEndCustomerStatus> ? defaultValue
Implementation
List<enums.PartnerEndCustomerStatus> partnerEndCustomerStatusListFromJson(
List? partnerEndCustomerStatus, [
List<enums.PartnerEndCustomerStatus>? defaultValue,
]) {
if (partnerEndCustomerStatus == null) {
return defaultValue ?? [];
}
return partnerEndCustomerStatus
.map((e) => partnerEndCustomerStatusFromJson(e.toString()))
.toList();
}