PaymentIntentCreatedEvent.fromJson constructor

PaymentIntentCreatedEvent.fromJson(
  1. Object? json
)

Implementation

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