onAttachedToTarget property
Stream<AttachedToTargetEvent>
get
onAttachedToTarget
Issued when attached to target because of auto-attach or attachToTarget
command.
Implementation
Stream<AttachedToTargetEvent> get onAttachedToTarget => _client.onEvent
.where((event) => event.name == 'Target.attachedToTarget')
.map((event) => AttachedToTargetEvent.fromJson(event.parameters));