forTarget method

EventStream<T> forTarget (EventDispatcher target)

Gets an EventStream for this event type, on the specified target.

Implementation

EventStream<T> forTarget(EventDispatcher target) => target.on(eventType);