onTargetCreated property
Stream<TargetInfo>
get
onTargetCreated
Issued when a possible inspection target is created.
Implementation
Stream<TargetInfo> get onTargetCreated => _client.onEvent
.where((event) => event.name == 'Target.targetCreated')
.map(
(event) => TargetInfo.fromJson(
event.parameters['targetInfo'] as Map<String, dynamic>,
),
);