GetSubscriptionSchedulesResponse.fromJson constructor
GetSubscriptionSchedulesResponse.fromJson(
- Object? json
Implementation
factory GetSubscriptionSchedulesResponse.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return GetSubscriptionSchedulesResponse(
data: (map['data'] as List<Object?>)
.map((el) => SubscriptionSchedule.fromJson(el))
.toList(),
hasMore: (map['has_more'] as bool),
url: (map['url'] as String),
);
}