close method

Future<void> close()

Closes the connection from the server.

Implementation

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