dispose static method
Implementation
static Future<void> dispose() async {
await _stream?.dispose();
_stream = null;
_mode = null;
_videoParams = null;
}
static Future<void> dispose() async {
await _stream?.dispose();
_stream = null;
_mode = null;
_videoParams = null;
}