title: Exception has occurred. _TypeError (type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List<dynamic>')
body: <p>I am new to flutter, so I honestly don't know the why I am receiving this error.</p>
  <pre><code>List &lt; BaseResponse &gt; pEShippingDetail = [];
    Future loadMessageList() async {
      http.Response response = await http.get('xxxxx');
      //await Future.delayed(Duration(seconds: 3));
  
      String content = response.body;
      List collection = json.decode(content);
      List &lt; BaseResponse &gt; _messages = collection.map((json) =&gt; BaseResponse.fromJson(json)).toList();
  
      setState(() {
        pEShippingDetail = _messages;
      });
    }
  
    void initState() {
      loadMessageList();
      super.initState();
  
    }
  </code></pre>