EventSubscriptionSpecification({String name, bool isOneShot, EventTarget target, String eventType, void onData(T event), bool useCapture})

Source

EventSubscriptionSpecification({this.name, this.isOneShot, this.target,
    this.eventType, void this.onData(T event), this.useCapture});