title: Error in parsing nested JSON list in flutter
body: <p>Calling API but showing error, I'm unable to parse data in the bean class.</p>
  
  <p>My Response:</p>
  
  <pre><code>   {
  "error":"0",
  "status":200,
  "deliveryCharge":"14.00",
  "image_base_url":"http:\/\/xxxxx.tk\/assets\/event\/image\/",
  "image_logo_url":"http:\/\/xxxxx.tk\/assets\/event\/logo\/",
  "eventList":[
  {
  "event_id":"1",
  "event_name":"Syscraft Premier League",
  "event_location":"12 ny valleys",
  "event_type_id":"15",
  "start_date":"2019-01-10 03:21:00",
  "end_date":"2019-01-26 16:10:00",
  "event_logo":"f4f0bfc168a3816891e2749232c5243f.jpg"
  },
  {
  "event_id":"3",
  "event_name":"Republic Day Event 2019",
  "event_location":"AH-654 Villa No. 42 New Township New Township",
  "event_type_id":"1",
  "start_date":"2019-01-26 00:00:00",
  "end_date":"2019-01-26 11:55:00",
  "event_logo":"3a4a7fabbbd7ed8febf67bacda71ae48.jpg"
  }
  ]
  }
  </code></pre>
  
  <p>Calling Api</p>
  
  <pre><code>  Future&lt;List&lt;EventResponse&gt;&gt; fetchEvent( ) async {
  
  String url='http://xxxxxxxxxxxxxxx.tk/api/userapp/event/lists';
  var headers = new Map();
  headers['Auth-Key'] = 'OCDOC@2018';
  headers['End-Client'] = 'OCDOC';
  var body = new Map();
  headers['schedule'] = 'present';
  http.Response res = await http.post(url,headers: headers, body: body);
  final Map&lt;String,dynamic&gt; parsed=json.decode(res.body); // post api call
  print("Reposnce Event:---"+parsed.toString());}
  </code></pre>
  
  <p>My Bean class</p>
  
  <pre><code>class EventResponse{
  
  
  String error;
    int status;
    String deliveryCharges;
    String imageBaseUrl;
    String imageLogoUrl;
    List&lt;Event&gt; eventList;
  
    EventResponse({
               this.error,
               this.status,
               this.deliveryCharges,
               this.imageBaseUrl,
               this.imageLogoUrl,
               this.eventList
                 });
  
    factory EventResponse.convertEventResponse(Map&lt;String,dynamic&gt; json){
      return EventResponse(
                              error: json['error'],
                              status:  json['status'],
                              deliveryCharges:  json['deliveryCharge'],
                              imageBaseUrl:  json['image_base_url'],
                              imageLogoUrl:  json['image_logo_url'],
                              eventList:  json['eventList']);
  
    }}
  class Event{
  
    String eventId;
    String eventName;
    String location;
    String event_logo;
  
    Event({
      this.eventId,
      this.eventName,
      this.location,
      this.event_logo,
    });
  
    factory Event.convertEvent(Map&lt;String,dynamic&gt; json){
      return Event(
        eventId: json['event_id'],
        eventName:  json['event_name'],
        location:  json['event_location'],
        event_logo:  json['event_logo'],
  
      );}}
  </code></pre>
  
  <p>Showing Error</p>
  
  <blockquote>
    <p><code>_InternalLinkedHashMap&lt;dynamic, dynamic&gt; is not a subtype of type Map&lt;String, String&gt;</code></p>
  </blockquote>