<String, dynamic>' is not a subtype of type 'List<dynamic>' flutter
问题 Here is my sample json response { "billing": [ { "id": 1, "add_id": 23 } ], "shipping": [ { "id": 2, "add_id": 345 }, { "id": 3, "add_id": 345 } ] } Here is my api receiving part List responseList = response.data['data'];//getting api response after decode List<AddressListGroupModel> listData = responseList.map((f) => AddressListGroupModel.fromJson(f)).toList(); return listData; Here is my model class AddressListGroupModel { List<Add> billing; List<Add> shipping; AddressListGroupModel({this