onReceivedMessageFromTarget property
Stream<ReceivedMessageFromTargetEvent>
get
onReceivedMessageFromTarget
Notifies about a new protocol message received from the session (as reported in
attachedToTarget
event).
Implementation
Stream<ReceivedMessageFromTargetEvent> get onReceivedMessageFromTarget =>
_client.onEvent
.where((event) => event.name == 'Target.receivedMessageFromTarget')
.map((event) =>
ReceivedMessageFromTargetEvent.fromJson(event.parameters));