dispose method

void dispose ()

Implementation

void dispose() {
  channel.output.removeStateHandlers(this);
  channel.dispose();
}