onTargetCrashed property

Stream<TargetCrashedEvent> get onTargetCrashed

Issued when a target has crashed.

Implementation

Stream<TargetCrashedEvent> get onTargetCrashed => _client.onEvent
    .where((event) => event.name == 'Target.targetCrashed')
    .map((event) => TargetCrashedEvent.fromJson(event.parameters));