Your code is slightly wrong. You are checking if ids contains the whole list u["id"].
Try this:
List selectedUsers = users.where((u) => ids.any((id) => u["id"].contains(id))).toList();
ids.any(...) takes a function as a test and returns true if any element of the iterable ids passes the test. Here, your test should return true if any of the id from ids appear in u["id"]. Now using this whole thing as your filter, you get the desired result:
[{id: [1234, 2330], name: username1}, {id: [1111, 2330], name: username2}]
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…