Disposes the NetStream platform instance.
@override Future<void> dispose() async { assert(_memory != null); RtmpStreamPlatform.instance.dispose({"memory": _memory}); }