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