CustomerSubscriptionTrialWillEndEvent.fromJson constructor

CustomerSubscriptionTrialWillEndEvent.fromJson(
  1. Object? json
)

Implementation

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