stop method

void stop()
inherited

Implementation

void stop() {
  if (_client != null) {
    _client!.close();
  }
  _client = null;
}