public constructor()

in src/eventSubscription/tree/EventSubscriptionTreeItem.ts [23:32]


    public constructor(parent: EventSubscriptionProvider, eventSubscription: EventSubscription) {
        super(parent);
        if (!eventSubscription.id || !eventSubscription.name || !eventSubscription.topic) {
            throw new ArgumentError(eventSubscription);
        }

        this.id = eventSubscription.id;
        this.name = eventSubscription.name;
        this.topic = eventSubscription.topic;
    }