close method

void close()

Implementation

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