paymentInitiationConsentScopeNullableListFromJson function
        
List<PaymentInitiationConsentScope> ?
paymentInitiationConsentScopeNullableListFromJson(
    
    
- List? paymentInitiationConsentScope, [
- List<PaymentInitiationConsentScope> ? defaultValue
Implementation
List<enums.PaymentInitiationConsentScope>?
    paymentInitiationConsentScopeNullableListFromJson(
  List? paymentInitiationConsentScope, [
  List<enums.PaymentInitiationConsentScope>? defaultValue,
]) {
  if (paymentInitiationConsentScope == null) {
    return defaultValue;
  }
  return paymentInitiationConsentScope
      .map((e) => paymentInitiationConsentScopeFromJson(e.toString()))
      .toList();
}