You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there something I'm doing wrong? or is this expected? If it's expected is there any way I can force it to make .toJson() for any nested freezed model.
Or any reference in documentation?
The text was updated successfully, but these errors were encountered:
I have two freezed model classes as given below:
AuthMeta.dart
Comment
But when I do something like this:
It won't do
toJson()
to theAuthMeta
object inside it.Work around
For the time being, what I did is in
comment.g.dart
:Is there something I'm doing wrong? or is this expected? If it's expected is there any way I can force it to make
.toJson()
for any nested freezed model.Or any reference in documentation?
The text was updated successfully, but these errors were encountered: