
Dart_Mappable - Flying High with Flutter #113
Flying High with Flutter
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
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.