Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Used @freezed to create Rating class #1669

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

j-j-gajjar
Copy link

No description provided.

Copy link

github-actions bot commented May 11, 2024

Everyone contributing to this PR have now signed the CLA. Thanks!

Copy link
Collaborator

@spydon spydon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm!

@@ -30,6 +30,8 @@ abstract class $ChartDataCopyWith<$Res> {
_$ChartDataCopyWithImpl<$Res, ChartData>;
@useResult
$Res call({double rawRating, common.Rating rating});

$RatingCopyWith<$Res> get rating;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be an issue with nested freezed classes here - this is only part of ratings.dart but not chart.dart. Chart is another freezed class, that has a Rating field.

I don't know from the top of my head how to fix this, though.

Copy link

github-actions bot commented May 28, 2024

Everyone contributing to this PR have now signed the CLA. Thanks!

Copy link

github-actions bot commented Jun 5, 2024

Everyone contributing to this PR have now signed the CLA. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants