Flying High with Flutter cover image

Dart_Mappable - Flying High with Flutter #113

Flying High with Flutter

CHAPTER

How to Use Freeze to Decode Data Classes

There is a small part of the package that just enables you to annotate these different constructors that freeze users. And I made it that you can just annotate those and it will work just as if you would have annotated the subclass directly. This way, that map is actually also compatible with freeze. So if you want to use freeze, because you like how you write your data classes, just like mostly on a syntax level,. You want to use the syntax of your freeze, then you can also do that if you want.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner