onDetachedFromTarget property
Stream<DetachedFromTargetEvent>
get
onDetachedFromTarget
Issued when detached from target for any reason (including detachFromTarget
command). Can be
issued multiple times per target if multiple sessions have been attached to it.
Implementation
Stream<DetachedFromTargetEvent> get onDetachedFromTarget => _client.onEvent
.where((event) => event.name == 'Target.detachedFromTarget')
.map((event) => DetachedFromTargetEvent.fromJson(event.parameters));