paymentInitiationConsentStatusListFromJson function
List<PaymentInitiationConsentStatus>
paymentInitiationConsentStatusListFromJson(
- List? paymentInitiationConsentStatus, [
- List<
PaymentInitiationConsentStatus> ? defaultValue
Implementation
List<enums.PaymentInitiationConsentStatus>
paymentInitiationConsentStatusListFromJson(
List? paymentInitiationConsentStatus, [
List<enums.PaymentInitiationConsentStatus>? defaultValue,
]) {
if (paymentInitiationConsentStatus == null) {
return defaultValue ?? [];
}
return paymentInitiationConsentStatus
.map((e) => paymentInitiationConsentStatusFromJson(e.toString()))
.toList();
}