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