PaymentIntentNetworkOptions.fromJson constructor

PaymentIntentNetworkOptions.fromJson(
  1. Object? json
)

Implementation

factory PaymentIntentNetworkOptions.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentIntentNetworkOptions(
      cartesBancaires: map['cartes_bancaires'] == null
          ? null
          : PaymentIntentCartesBancaires.fromJson(map['cartes_bancaires']));
}