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