anchor.diff:    host: const {
       '(domEvent)': 'onEvent(\$event.type)',
     },
  -  // TODO(b/71710685): Change to `Visibility.local` to reduce code size.
  -  visibility: Visibility.all,
   )
   class DomEventListenerDirective {
     List<String> eventTypes = [];
  
positive.code: 
  @Directive(
    selector: '[emitter]',
    // TODO(b/71710685): Change to `Visibility.local` to reduce code size.
    visibility: Visibility.all,
  )
  class EventEmitterDirective {
    String msg;
  
negative.code: @Directive(
    selector: '[listenernoprevent]',
    host: const {'(click)': 'onEvent(\$event)'},
  )
  class DirectiveListeningDomEventNoPrevent {
    onEvent(Event event) {}
  