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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use HydratedMixin with @freezed? #94

Open
k2s opened this issue Aug 23, 2022 · 0 comments
Open

How to use HydratedMixin with @freezed? #94

k2s opened this issue Aug 23, 2022 · 0 comments
Labels
question Further information is requested

Comments

@k2s
Copy link

k2s commented Aug 23, 2022

Documentation https://triple.flutterando.com.br/docs/getting-started/Mixins/#hydratedmixin shows toJson/fromJson, but the Serializable interface defines toMap/fromMap.

Could you please add example how to use @freezed with CounterState that also implements Serializable ?

@tauamendonca tauamendonca added the question Further information is requested label Dec 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants