SubscriptionScheduleAddInvoiceItemPriceOrId.fromJson constructor
SubscriptionScheduleAddInvoiceItemPriceOrId.fromJson(
- Object? json
Implementation
factory SubscriptionScheduleAddInvoiceItemPriceOrId.fromJson(Object? json) {
if (json is String) {
return SubscriptionScheduleAddInvoiceItemPriceId(id: json);
}
return SubscriptionScheduleAddInvoiceItemPrice.fromJson(json);
}