2min chapter

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

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode