PaymentIntentSofort.fromJson constructor

PaymentIntentSofort.fromJson(
  1. Object? json
)

Implementation

factory PaymentIntentSofort.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentIntentSofort(
      country: PaymentIntentCountry.fromJson(map['country']));
}