dart remove list of map code example
Example: flutter remove map
Map<String,Item> items;
Item item1;
..
items.removeWhere((key, value) => value == item1);
Map<String,Item> items;
Item item1;
..
items.removeWhere((key, value) => value == item1);