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