This is a very basic question which I'm sure theres an easy answer to. I have a database and a PHP server which currently pulls all data from the table (for testing purposes).
The result looks like this
[{"post_id":"1","createdon":"2018-11-10","content":"This is my first post"},{"post_id":"2","createdon":"2018-11-10","content":"This is my second post"}]
How would I in Flutter take the content of post_id[1], and load it into my array[0], and same with post_id[2] into my array[1]?