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