removeLayers method
Adds a painted model to the painting history and notifies listeners of the change.
Implementation
void removeLayers(List<String> idList) {
_cleanForwardChanges();
paintHistory.add([...activePaintings]);
historyPosition++;
activePaintings.removeWhere((el) => idList.contains(el.id));
}