dispose method

void dispose()

Implementation

void dispose() {
  _index2toc.clear();
  _onIndexChangedCallback = null;
  _jumpToIndexCallback = null;
  _onListChanged = null;
}