close method

void close()

Closes the connection from the server.

Implementation

void close() async {
  assert(_memory != null);
  RtmpConnectionPlatform.instance.close({"memory": _memory});
}