CheckoutSessionExpiredEvent.fromJson constructor

CheckoutSessionExpiredEvent.fromJson(
  1. Object? json
)

Implementation

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