Avanda func(String func) { if (queryTree.n == null) { throw 'Specify service to select from'; } queryTree.f = func; return this; }