stopStream method
Implementation
@override
Future<String?> stopStream() async {
try {
await methodChannel.invokeMethod<String?>('stopStreaming');
} on PlatformException catch (e) {
debugPrint("Error: ${e.code}, ${e.message}");
return e.message;
}
return null;
}