onScreencastVisibilityChanged property
Fired when the page with currently enabled screencast was shown or hidden `.
Implementation
Stream<bool> get onScreencastVisibilityChanged => _client.onEvent
.where((event) => event.name == 'Page.screencastVisibilityChanged')
.map((event) => event.parameters['visible'] as bool);