close method

void close()

Implementation

void close() {
  _listenStreamCache.forEach((_, stream) => stream.close());
  _listenStreamCache.clear();
  _channel.shutdown();
}