PaymentIntentIdeal.fromJson constructor

PaymentIntentIdeal.fromJson(
  1. Object? json
)

Implementation

factory PaymentIntentIdeal.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentIntentIdeal(
      bank: map['bank'] == null
          ? null
          : PaymentIntentIdealBank.fromJson(map['bank']));
}