dispose method

void dispose()

called when the cube is destroyed

Implementation

void dispose() {
  _debounceMap?.clear();
  _listenersObservableMap?.forEach((key, value) => key.removeListener(value));
}