title: Unhandled Exception: type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'HashMap<String, dynamic>' Dart
body: <p>I am having a response below</p>
  <pre><code>[
      {
          &quot;name&quot;: &quot;Kamchatka&quot;,
          &quot;about&quot;: &quot;Lorem ipsum dolor sit amet consectetur adipisicing elit. Maxime mollitia,molestiae quas vel sint commodi repudiandae consequuntur voluptatum laborumnumquam blanditiis harum quisquam eius sed odit fugiat iusto fuga praesentium optio, eaque rerum! Provident similique accusantium nemo autem.&quot;,
          &quot;email&quot;: &quot;kamchatka@mail.com&quot;,
          &quot;index&quot;: 1,
          &quot;picture&quot;: &quot;https://thispersondoesnotexist.com/&quot;
      },
      {
          &quot;name&quot;: &quot;Valjakutse&quot;,
          &quot;about&quot;: &quot;Lorem ipsum dolor sit amet consectetur adipisicing elit. Maxime mollitia,molestiae quas vel sint commodi repudiandae consequuntur voluptatum laborumnumquam blanditiis harum quisquam eius sed odit fugiat iusto fuga praesentium optio, eaque rerum! Provident similique accusantium nemo autem.&quot;,
          &quot;email&quot;: &quot;valjakutse@mail.com&quot;,
          &quot;index&quot;: 2,
          &quot;picture&quot;: &quot;https://thispersondoesnotexist.com/&quot;
      },
      {
          &quot;name&quot;: &quot;Shipment&quot;,
          &quot;about&quot;: &quot;Lorem ipsum dolor sit amet consectetur adipisicing elit. Maxime mollitia,molestiae quas vel sint commodi repudiandae consequuntur voluptatum laborumnumquam blanditiis harum quisquam eius sed odit fugiat iusto fuga praesentium optio, eaque rerum! Provident similique accusantium nemo autem.&quot;,
          &quot;email&quot;: &quot;shipment@mail.com&quot;,
          &quot;index&quot;: 3,
          &quot;picture&quot;: &quot;https://thispersondoesnotexist.com/&quot;
      }
  ]
  
  </code></pre>
  <p>I am having a Future which is async and should take the response and convert it into a List of HashMap like below</p>
  <pre><code>
    Future&lt;List&lt;HashMap&lt;String, dynamic&gt;&gt;&gt; _fetchUsersListHashMap() async {
      try {
        final response = await http.get(Uri.parse(&quot;https://jsonkeeper.com/b/XBCA&quot;));
  
        late List&lt;HashMap&lt;String, dynamic&gt;&gt; responseList;
  
        responseList = List&lt;HashMap&lt;String, dynamic&gt;&gt;.from(json.decode(response.body));
      
        String stringList = jsonEncode(responseList);
  
        log(&quot;FetchUsersListHashMap $stringList&quot;);
  
        return responseList;
  
      } catch (e) {
  
        log(&quot;FetchUsersListHashMapException $e&quot;);
  
        rethrow;
      }
    }
  
  </code></pre>
  <p>When i call _fetchUsersListHashMap i am getting below error</p>
  <pre><code>
  Unhandled Exception: type '_InternalLinkedHashMap&lt;String, dynamic&gt;' is not a subtype of type 'HashMap&lt;String, dynamic&gt;'
  
  </code></pre>
  <p>I have even tried changing the way i am assigning responseList to</p>
  <pre><code>responseList = json.decode(response.body);
  
  </code></pre>
  <p>But its not assigning the list of HashMap with the response from the url</p>
  <p>Below is how i did it in java its just that i cant be able to replicate the same concept in flutter</p>
  <pre><code>  List&lt;HashMap&lt;String, Object&gt;&gt; responseList = new Gson().fromJson(response,
                                  new TypeToken&lt;List&lt;HashMap&lt;String, Object&gt;&gt;&gt;() {
                                  }.getType());
  
  </code></pre>