Create a value type with Freezed #822
Unanswered
benji-farquhar
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is this class a value type? How would I make it become one if not? I want to assign a value from it without it changing when the original changes. I thought maybe copyWith would have that purpose; however, it is still changing when the original changes when I do this:
var x = vgnItmCache!.copyWith();The class in question:
Beta Was this translation helpful? Give feedback.
All reactions