setLink method

void setLink(
  1. Event<T> link
)

Links this event to link so that stopping propagation on one (via stopPropagation) also stops the other.

Implementation

void setLink(Event<T> link) => _linkedEvent = link;