addCustomFilter method
Implementation
Avanda addCustomFilter(dynamic value, String operator) {
if (!lastCol) {
throw "Specify column to compare $value with";
}
Map filter = {
lastCol: {'vl': value, 'op': operator}
};
if (queryTree.n == null) {
throw 'Specify service to apply where clauses';
}
queryTree.ft = {...(accumulate ? queryTree.ft : {}), ...filter};
lastCol = null;
accumulate = false;
return this;
}