dispose method

void dispose()

Disposes of all the acquired resources.

Implementation

void dispose() {
  completeError(const WebSocketException('The [WebSocketExchange] has been disposed.'));
}