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