Skip to content

Commit

Permalink
chore: Bring back generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
spydon committed Sep 10, 2024
1 parent 460bd87 commit e31db4e
Showing 4 changed files with 45 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/app_center/lib/manage/manage_snap_tile.dart
Original file line number Diff line number Diff line change
@@ -162,7 +162,7 @@ class ManageSnapTile extends StatelessWidget {
],
),
trailing: SizedBox(
width: 300,
width: 250,
child: Align(
alignment: Alignment.centerRight,
child: _ButtonBar(snap, showUpdateButton),
19 changes: 16 additions & 3 deletions packages/app_center_ratings_client/lib/src/chart.freezed.dart
Original file line number Diff line number Diff line change
@@ -19,7 +19,9 @@ mixin _$ChartData {
double get rawRating => throw _privateConstructorUsedError;
Rating get rating => throw _privateConstructorUsedError;

@JsonKey(ignore: true)
/// Create a copy of ChartData
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$ChartDataCopyWith<ChartData> get copyWith =>
throw _privateConstructorUsedError;
}
@@ -44,6 +46,8 @@ class _$ChartDataCopyWithImpl<$Res, $Val extends ChartData>
// ignore: unused_field
final $Res Function($Val) _then;

/// Create a copy of ChartData
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
@@ -62,6 +66,8 @@ class _$ChartDataCopyWithImpl<$Res, $Val extends ChartData>
) as $Val);
}

/// Create a copy of ChartData
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$RatingCopyWith<$Res> get rating {
@@ -93,6 +99,8 @@ class __$$ChartDataImplCopyWithImpl<$Res>
_$ChartDataImpl _value, $Res Function(_$ChartDataImpl) _then)
: super(_value, _then);

/// Create a copy of ChartData
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
@@ -140,7 +148,9 @@ class _$ChartDataImpl implements _ChartData {
@override
int get hashCode => Object.hash(runtimeType, rawRating, rating);

@JsonKey(ignore: true)
/// Create a copy of ChartData
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$ChartDataImplCopyWith<_$ChartDataImpl> get copyWith =>
@@ -156,8 +166,11 @@ abstract class _ChartData implements ChartData {
double get rawRating;
@override
Rating get rating;

/// Create a copy of ChartData
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(ignore: true)
@JsonKey(includeFromJson: false, includeToJson: false)
_$$ChartDataImplCopyWith<_$ChartDataImpl> get copyWith =>
throw _privateConstructorUsedError;
}
17 changes: 14 additions & 3 deletions packages/app_center_ratings_client/lib/src/ratings.freezed.dart
Original file line number Diff line number Diff line change
@@ -20,7 +20,9 @@ mixin _$Rating {
int get totalVotes => throw _privateConstructorUsedError;
RatingsBand get ratingsBand => throw _privateConstructorUsedError;

@JsonKey(ignore: true)
/// Create a copy of Rating
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$RatingCopyWith<Rating> get copyWith => throw _privateConstructorUsedError;
}

@@ -42,6 +44,8 @@ class _$RatingCopyWithImpl<$Res, $Val extends Rating>
// ignore: unused_field
final $Res Function($Val) _then;

/// Create a copy of Rating
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
@@ -84,6 +88,8 @@ class __$$RatingImplCopyWithImpl<$Res>
_$RatingImpl _value, $Res Function(_$RatingImpl) _then)
: super(_value, _then);

/// Create a copy of Rating
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
@@ -144,7 +150,9 @@ class _$RatingImpl implements _Rating {
@override
int get hashCode => Object.hash(runtimeType, snapId, totalVotes, ratingsBand);

@JsonKey(ignore: true)
/// Create a copy of Rating
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$RatingImplCopyWith<_$RatingImpl> get copyWith =>
@@ -163,8 +171,11 @@ abstract class _Rating implements Rating {
int get totalVotes;
@override
RatingsBand get ratingsBand;

/// Create a copy of Rating
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(ignore: true)
@JsonKey(includeFromJson: false, includeToJson: false)
_$$RatingImplCopyWith<_$RatingImpl> get copyWith =>
throw _privateConstructorUsedError;
}
17 changes: 14 additions & 3 deletions packages/app_center_ratings_client/lib/src/vote.freezed.dart
Original file line number Diff line number Diff line change
@@ -21,7 +21,9 @@ mixin _$Vote {
bool get voteUp => throw _privateConstructorUsedError;
DateTime get dateTime => throw _privateConstructorUsedError;

@JsonKey(ignore: true)
/// Create a copy of Vote
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$VoteCopyWith<Vote> get copyWith => throw _privateConstructorUsedError;
}

@@ -43,6 +45,8 @@ class _$VoteCopyWithImpl<$Res, $Val extends Vote>
// ignore: unused_field
final $Res Function($Val) _then;

/// Create a copy of Vote
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
@@ -89,6 +93,8 @@ class __$$VoteImplCopyWithImpl<$Res>
__$$VoteImplCopyWithImpl(_$VoteImpl _value, $Res Function(_$VoteImpl) _then)
: super(_value, _then);

/// Create a copy of Vote
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
@@ -158,7 +164,9 @@ class _$VoteImpl implements _Vote {
int get hashCode =>
Object.hash(runtimeType, snapId, snapRevision, voteUp, dateTime);

@JsonKey(ignore: true)
/// Create a copy of Vote
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$VoteImplCopyWith<_$VoteImpl> get copyWith =>
@@ -180,8 +188,11 @@ abstract class _Vote implements Vote {
bool get voteUp;
@override
DateTime get dateTime;

/// Create a copy of Vote
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(ignore: true)
@JsonKey(includeFromJson: false, includeToJson: false)
_$$VoteImplCopyWith<_$VoteImpl> get copyWith =>
throw _privateConstructorUsedError;
}

0 comments on commit e31db4e

Please sign in to comment.