CustomerSubscriptionPausedEvent.fromJson constructor

CustomerSubscriptionPausedEvent.fromJson(
  1. Object? json
)

Implementation

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