PaymentMethodNetworks.fromJson constructor
PaymentMethodNetworks.fromJson(
- Object? json
Implementation
factory PaymentMethodNetworks.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentMethodNetworks(
preferred: map['preferred'] == null
? null
: PaymentMethodPreferred.fromJson(map['preferred']));
}