title: how to convert _InternalLinkedHashMap to list object in dart
body: <p>I have recieved some data from server side, and it parsed as <code>LinkedHashMap</code> by default, now I want to convert <code>LinkedHashMap</code> to <code>List&lt;Oject&gt;</code>, this is the code I am using now:</p>
  <pre><code>var articles = result[&quot;list&quot;];
        List&lt;String&gt; genreIdsList = new List&lt;String&gt;.from(articles);
        var items = genreIdsList.map((String str)=&gt;Item.fromJson(str)).toList();
  </code></pre>
  <p>but it did not work as expect. Shows this error:</p>
  <pre><code>/flutter (10074): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: type '_InternalLinkedHashMap&lt;String, dynamic&gt;' is not a subtype of type 'String'
  E/flutter (10074): #0      new List.from (dart:core-patch/array_patch.dart:40:5)
  E/flutter (10074): #1      Repo._getArticles (package:cruise/src/common/repo.dart:82:39)
  E/flutter (10074): &lt;asynchronous suspension&gt;
  E/flutter (10074): #2      Repo.getArticles (package:cruise/src/common/repo.dart:27:12)
  E/flutter (10074): &lt;asynchronous suspension&gt;
  E/flutter (10074): #3      initArticles (package:cruise/src/page/home/components/homelistdefault_component/effect.dart:42:25)
  E/flutter (10074): &lt;asynchronous suspension&gt;
  </code></pre>
  <p>This is the result data:</p>
  <p><a href="https://i.stack.imgur.com/YCsNR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YCsNR.png" alt="enter image description here" /></a></p>
  <p>and this is my fromJson:</p>
  <pre><code>  factory Item.fromJson(String str) =&gt; Item.fromMap(json.decode(str));
  </code></pre>
  <p>what should I do to parse the <code>LinkedHashMap</code> to <code>List&lt;Item&gt;</code>?</p>