@@ -244,7 +244,7 @@ class WeeklyDownloadCounts {
244244}
245245
246246@JsonSerializable (includeIfNull: false )
247- class WeeklyVersionsDownloadCounts {
247+ class WeeklyVersionDownloadCounts {
248248 /// An integer list where each number is the total number of downloads for a
249249 /// given 7 day period starting from [newestDate] .
250250 final List <int > totalWeeklyDownloads;
@@ -273,15 +273,15 @@ class WeeklyVersionsDownloadCounts {
273273 /// The newest date with download counts data available.
274274 final DateTime newestDate;
275275
276- WeeklyVersionsDownloadCounts ({
276+ WeeklyVersionDownloadCounts ({
277277 required this .newestDate,
278278 required this .majorRangeWeeklyDownloads,
279279 required this .minorRangeWeeklyDownloads,
280280 required this .patchRangeWeeklyDownloads,
281281 required this .totalWeeklyDownloads,
282282 });
283283
284- factory WeeklyVersionsDownloadCounts .fromJson (Map <String , dynamic > json) =>
285- _$WeeklyVersionsDownloadCountsFromJson (json);
286- Map <String , dynamic > toJson () => _$WeeklyVersionsDownloadCountsToJson (this );
284+ factory WeeklyVersionDownloadCounts .fromJson (Map <String , dynamic > json) =>
285+ _$WeeklyVersionDownloadCountsFromJson (json);
286+ Map <String , dynamic > toJson () => _$WeeklyVersionDownloadCountsToJson (this );
287287}
0 commit comments