InvoicePaymentMethodOptionsUsBankAccountLinkedAccountOptions.fromJson constructor
InvoicePaymentMethodOptionsUsBankAccountLinkedAccountOptions.fromJson(
- Object? json
Implementation
factory InvoicePaymentMethodOptionsUsBankAccountLinkedAccountOptions.fromJson(
Object? json) {
final map = (json as Map).cast<String, Object?>();
return InvoicePaymentMethodOptionsUsBankAccountLinkedAccountOptions(
permissions: map['permissions'] == null
? null
: (map['permissions'] as List<Object?>)
.map((el) =>
InvoicePaymentMethodOptionsUsBankAccountLinkedAccountOptionsPermissionsItem
.fromJson(el))
.toList(),
prefetch: map['prefetch'] == null
? null
: (map['prefetch'] as List<Object?>)
.map((el) =>
InvoicePaymentMethodOptionsUsBankAccountLinkedAccountOptionsPrefetchItem
.fromJson(el))
.toList(),
);
}