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