Flutter How to List Array with multiple children from JSON Flutter How to List Array with multiple children from JSON dart dart

Flutter How to List Array with multiple children from JSON


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"])         )      ))