title: How to put json-data into a list in flutter?
body: <p>When I try to get data from this API <a href="https://api.met.no/weatherapi/locationforecast/2.0/complete?lat=10&amp;lon=10" rel="nofollow noreferrer">https://api.met.no/weatherapi/locationforecast/2.0/complete?lat=10&amp;lon=10</a> it gets me a long array of some sort with all the timeseries. In the end, I would like to display some data from each time which has its own place in the downloaded array. I want to covert all data to a list so I can manipulate the data but i get errors like these type '_InternalLinkedHashMap&lt;String, dynamic&gt;' is not a subtype of type 'String.
  This is my code</p>
  <pre><code>List&lt;dynamic&gt; timeseriesglobal = [];
    void loadForecast() async{
  
      //Getting the data from API
      Response response = await get(&quot;https://api.met.no/weatherapi/locationforecast/2.0/complete?lat=57.047218&amp;lon=9.920100&quot;);
  
      var results = jsonDecode(response.body);
  
  timeseriesglobal = results[&quot;properties&quot;][&quot;timeseries&quot;] as List;
  
  
    }
  </code></pre>
  <p>And in the end i have this code for displaying the data</p>
  <pre><code>child: ListView.builder(
                    itemCount: timeseriesglobal.length,
                    itemBuilder: (context,index){
                      return Card(
                        child: ListTile(
                          title: Text(
                            timeseriesglobal[index]
                          ),
                        ),
                      );
                    },
  
  
  </code></pre>
  <p>What am I doing wrong? Please help me</p>