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