dispose method

void dispose()

Disposes the connection handler, but does not close the connection.

Implementation

void dispose() {
  client.removeStreamingConnectionStatusListener(_onConnectionStatusChanged);
  _countdownTimer?.cancel();
  _countdownTimer = null;
}