stopStream method
Stop the current stream generation
Implementation
Future<void> stopStream() async {
try {
await _channel.invokeMethod('stopStream', {'wrapperId': _wrapperId});
} on PlatformException catch (e) {
throw Exception('Failed to stop stream: ${e.message}');
}
}