CustomerSubscriptionUpdatedEvent.fromJson constructor

CustomerSubscriptionUpdatedEvent.fromJson(
  1. Object? json
)

Implementation

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