2min chapter

Flying High with Flutter cover image

Dart_Mappable - Flying High with Flutter #113

Flying High with Flutter

CHAPTER

The Importance of Hooks in Backwards Compatibility

One big use case I have for that currently and in an app that I'm building is backwards compatibility. So there I use those hooks to like detect, okay, the JSON that's just coming in that I plan to transform into my model, is it the legacy version? Then I pre-modify the payload while it's stillJSON so that it's then decodable by the package. And there are others like that. You could build something like that with hooks but yeah, that's then outside of the package because it's just a very specific maybe case you have.

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