@@ -32,6 +32,9 @@ class PackageScoreMapper extends ClassMapperBase<PackageScore> {
32
32
static double ? _$popularityScore (PackageScore v) => v.popularityScore;
33
33
static const Field <PackageScore , double > _f$popularityScore =
34
34
Field ('popularityScore' , _$popularityScore);
35
+ static int _$downloadCount30Days (PackageScore v) => v.downloadCount30Days;
36
+ static const Field <PackageScore , int > _f$downloadCount30Days =
37
+ Field ('downloadCount30Days' , _$downloadCount30Days);
35
38
static List <String > _$tags (PackageScore v) => v.tags;
36
39
static const Field <PackageScore , List <String >> _f$tags =
37
40
Field ('tags' , _$tags);
@@ -45,6 +48,7 @@ class PackageScoreMapper extends ClassMapperBase<PackageScore> {
45
48
#maxPoints: _f$maxPoints,
46
49
#likeCount: _f$likeCount,
47
50
#popularityScore: _f$popularityScore,
51
+ #downloadCount30Days: _f$downloadCount30Days,
48
52
#tags: _f$tags,
49
53
#lastUpdated: _f$lastUpdated,
50
54
};
@@ -55,6 +59,7 @@ class PackageScoreMapper extends ClassMapperBase<PackageScore> {
55
59
maxPoints: data.dec (_f$maxPoints),
56
60
likeCount: data.dec (_f$likeCount),
57
61
popularityScore: data.dec (_f$popularityScore),
62
+ downloadCount30Days: data.dec (_f$downloadCount30Days),
58
63
tags: data.dec (_f$tags),
59
64
lastUpdated: data.dec (_f$lastUpdated));
60
65
}
@@ -117,6 +122,7 @@ abstract class PackageScoreCopyWith<$R, $In extends PackageScore, $Out>
117
122
int ? maxPoints,
118
123
int ? likeCount,
119
124
double ? popularityScore,
125
+ int ? downloadCount30Days,
120
126
List <String >? tags,
121
127
DateTime ? lastUpdated});
122
128
PackageScoreCopyWith <$R2 , $In , $Out2 > $chain <$R2 , $Out2 >(Then <$Out2 , $R2 > t);
@@ -140,13 +146,16 @@ class _PackageScoreCopyWithImpl<$R, $Out>
140
146
Object ? maxPoints = $none,
141
147
int ? likeCount,
142
148
Object ? popularityScore = $none,
149
+ int ? downloadCount30Days,
143
150
List <String >? tags,
144
151
DateTime ? lastUpdated}) =>
145
152
$apply (FieldCopyWithData ({
146
153
if (grantedPoints != $none) #grantedPoints: grantedPoints,
147
154
if (maxPoints != $none) #maxPoints: maxPoints,
148
155
if (likeCount != null ) #likeCount: likeCount,
149
156
if (popularityScore != $none) #popularityScore: popularityScore,
157
+ if (downloadCount30Days != null )
158
+ #downloadCount30Days: downloadCount30Days,
150
159
if (tags != null ) #tags: tags,
151
160
if (lastUpdated != null ) #lastUpdated: lastUpdated
152
161
}));
@@ -156,6 +165,8 @@ class _PackageScoreCopyWithImpl<$R, $Out>
156
165
maxPoints: data.get (#maxPoints, or: $value.maxPoints),
157
166
likeCount: data.get (#likeCount, or: $value.likeCount),
158
167
popularityScore: data.get (#popularityScore, or: $value.popularityScore),
168
+ downloadCount30Days:
169
+ data.get (#downloadCount30Days, or: $value.downloadCount30Days),
159
170
tags: data.get (#tags, or: $value.tags),
160
171
lastUpdated: data.get (#lastUpdated, or: $value.lastUpdated));
161
172
0 commit comments