Learn about getting and parsing JSON data from the internet when building a cross-platform app using Flutter.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4038868-parsing-json-in-flutter
Learn about getting and parsing JSON data from the internet when building a cross-platform app using Flutter.
In your cat_app demo, there’s a “weight” object inside the returned json. I was wondering how do we parse that “weight” object. Thank you
Add the weight field to the class and then run “flutter packages pub run build_runner build” from the command line to re-generate the classes.
This tutorial is more than six months old so questions are no longer supported at the moment for it. Thank you!