What is the best way to read a json in flutter?

Asked

Viewed 59 times

3

I’m entering the world of development and learning Flutter to program for mobiles.

The basic operation of my app will be to read a JSON from my server and play on a list in the app.

Doubts:

  1. What are the best practices for doing this?
  2. I create a class and for each item of my json I prompt?
  3. Or simply pick up the json response string and play in a Map(which is like a python Dictionary), or I do it some other way?
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.