It should be possible to use where()
on items to filter them, and then use map()
to convert each row of json to ListTile()
ExpansionTile( ... children: jsonData .where((row) => row["ID_Type"] == listtypes[i].ID_Type) .map((row) => ListTile( title: Text(row["SLU_Name"]) ) ))