removeObject method
Removes the specified object
from this inventory.
Implementation
void removeObject(EscapeGameObject object, {bool notify = true}) {
_objects.remove(object);
if (notify) {
notifyListeners();
}
}
Removes the specified object
from this inventory.
void removeObject(EscapeGameObject object, {bool notify = true}) {
_objects.remove(object);
if (notify) {
notifyListeners();
}
}