screenShotStream method
Creates a stream to listen for screenshot events using the ScreenshotDetectPluginFlutterPlatform.
Implementation
@override
Stream<String?> screenShotStream() {
return _eventChannel.receiveBroadcastStream().map((dynamic event) {
return event;
});
}