dispose method

void dispose()

Implementation

void dispose() {
  target = null;
  _styleChangeListeners.clear();
  reset();
}