CustomerSubscriptionPendingUpdateExpiredEvent.fromJson constructor

CustomerSubscriptionPendingUpdateExpiredEvent.fromJson(
  1. Object? json
)

Implementation

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