Image for post
Image for post

Flutter: How to work with JSONs like a PRO

Before being a Flutter developer, I came from the JavaScript world. One thing I missed the most is the mighty JavaScript packages on npm, especially lodash and ramda, they give us great convenience on accessing nested JSON objects.

When developing Flutter applications, we often need to parse JSON objects from API responses, then access or manipulate them accordingly. Sadly dart language’s support for Map objects is not very rich, therefore I created this package: map_enhancer.


Actually this package is not restricted to Flutter and JSON(Map<String, dynamic>) objects, you may use it in any dart projects, or on any dart’s native Map objects.

And that’s it. Visit to install this package, or submit issues/pull requests on GitHub.

Do you know you can clap up to 50 times for an article? Go smash that button!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store