call method

dynamic call(
  1. dynamic mappingFunction
)

Implementation

call(mappingFunction) {
  if (mappingFunction is List) {
    mappingFunction.insert(0, _rqlQuery);
    var item = _rqlQuery._funcWrap(
        mappingFunction.removeLast(), mappingFunction.length);
    return RqlMap(mappingFunction, item);
  }
  return RqlMap([_rqlQuery], mappingFunction);
}