stopListeningScreenshot method
stop listening Screenshot
Implementation
Future<void> stopListeningScreenshot() async {
try {
if (_listening) {
_listening = false;
_flutterScreenshotApi.stopListeningScreenshot();
}
} catch (e) {
_listening = true;
}
}