paymentInitiationPaymentStatusNullableListFromJson function
List<PaymentInitiationPaymentStatus> ?
paymentInitiationPaymentStatusNullableListFromJson(
- List? paymentInitiationPaymentStatus, [
- List<
PaymentInitiationPaymentStatus> ? defaultValue
Implementation
List<enums.PaymentInitiationPaymentStatus>?
paymentInitiationPaymentStatusNullableListFromJson(
List? paymentInitiationPaymentStatus, [
List<enums.PaymentInitiationPaymentStatus>? defaultValue,
]) {
if (paymentInitiationPaymentStatus == null) {
return defaultValue;
}
return paymentInitiationPaymentStatus
.map((e) => paymentInitiationPaymentStatusFromJson(e.toString()))
.toList();
}