Replies: 1 comment
-
|
|
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I've been playing around with using classic classes in Freezed V3, and I noticed that the
toJson()method is not automatically available to normal Dart classes using Freezed when addingfactory Model.fromJson(Map<String, dynamic> json) => _$ModelFromJson(json);. I noticed a snippet on #1237 that manually addedtoJson, but that wasn't readily visible in the docs if that change is recommended.My class:
Beta Was this translation helpful? Give feedback.
All reactions