PaymentIntentPaymentFailedEvent.fromJson constructor

PaymentIntentPaymentFailedEvent.fromJson(
  1. Object? json
)

Implementation

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