how do you get an index from a list by searching for a value? June 17, 2022 June 17, 2022 / 1 minute of reading int index = user.indexWhere((item) => item["id"] == a); CLICK HERE to find out more related problems solutions.