close method

void close()

Implementation

void close() async {
  _close();
  await _client.sendMessage(to: to, type: "stream.close", message: {"stream_id": _streamId});
}