dispose method

void dispose()

Call this method to dispose the channel client.

Implementation

void dispose() {
  state?.dispose();
}