removeInteractable method
Removes an Interactable from the interactables list.
Implementation
void removeInteractable(Interactable interactable, {bool notify = true}) {
if (_interactables.remove(interactable)) {
interactable.removeListener(notifyListeners);
if (notify) {
notifyListeners();
}
}
}