dispose method

void dispose()

Disposes the connection platform instance.

Implementation

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