dispose method

  1. @override
Future<void> dispose()
override

Disposes the NetStream platform instance.

Implementation

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