PaymentIntentSucceededEvent.fromJson constructor

PaymentIntentSucceededEvent.fromJson(
  1. Object? json
)

Implementation

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