SubscriptionScheduleOrId.fromJson constructor
SubscriptionScheduleOrId.fromJson(
- Object? json
Implementation
factory SubscriptionScheduleOrId.fromJson(Object? json) {
if (json is String) {
return SubscriptionScheduleId(id: json);
}
return SubscriptionSchedule.fromJson(json);
}