delete property from Map in flutter 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);