result property

dynamic get result

Implementation

dynamic get result {
  if (aggregations.length == 1 && (groupBy == null || groupBy!.isEmpty)) {
    return _getResultValue(aggregations.first, _singleState.first);
  }
  return getGroupedResults();
}