onScreencastFrame property

Stream<ScreencastFrameEvent> get onScreencastFrame

Compressed image data requested by the startScreencast.

Implementation

Stream<ScreencastFrameEvent> get onScreencastFrame => _client.onEvent
    .where((event) => event.name == 'Page.screencastFrame')
    .map((event) => ScreencastFrameEvent.fromJson(event.parameters));