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