title: How to parse json dynamic array name
body: <p>Need to parse this json which has a dynamic array key . tried with for each key,value statement but still its not working  .</p>
  
  <pre><code>{ 
  "68": [
           {
              "id": 173,
              "user_id": 21
          },
          {
              "id": 174,
              "user_id": 21
          }
      ],
      "70": [
          {
              "id": 175,
              "user_id": 21
          },
          {
              "id": 176,
              "user_id": 21
          }
      ]
  }
  </code></pre>
  
  <p>so far i tried to parse like this but its not working it gives me an error ''Unhandled Exception: type <code>'List&lt;dynamic&gt;'</code> is not a subtype of type <code>'Map&lt;String, dynamic&gt;'</code> ''</p>
  
  <pre><code>class MyOrdersModel {
  
    final List&lt;MyOrders&gt; myorders;
  
    MyOrdersModel({
      this.myorders,
    });
  
  factory MyOrdersModel.fromJson(Map&lt;String, dynamic&gt; parsedJson) {
  
      var list = new List();
      parsedJson.forEach((key, value){
        list.add(value);
        //print("array_key" + key);
  
      });
  
      print(list); 
  
      List&lt;MyOrders&gt; myorders = new List&lt;MyOrders&gt;();
      myorders = list.map((i) =&gt; MyOrders.fromJson(i)).toList();
  
      return new MyOrdersModel(myorders: myorders);
    }
  }
  </code></pre>