SubscriptionScheduleConfigurationItemPlanOrId.fromJson constructor
SubscriptionScheduleConfigurationItemPlanOrId.fromJson(
- Object? json
Implementation
factory SubscriptionScheduleConfigurationItemPlanOrId.fromJson(Object? json) {
if (json is String) {
return SubscriptionScheduleConfigurationItemPlanId(id: json);
}
return SubscriptionScheduleConfigurationItemPlan.fromJson(json);
}