dispose method
void
dispose()
Method to clean the listeners.
Implementation
void dispose() {
_wrappedTrackList?.removeEventListener(VideoTracksEventTypes.ADDTRACK, forwardingkEventListener);
_wrappedTrackList?.removeEventListener(VideoTracksEventTypes.REMOVETRACK, forwardingkEventListener);
_wrappedTrackList?.removeEventListener(VideoTracksEventTypes.CHANGE, forwardingkEventListener);
_eventManager.clear();
}