toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (fieldNames != null) 'fieldNames': fieldNames!,
      if (limit != null) 'limit': limit!,
      if (metricAggregations != null)
        'metricAggregations': metricAggregations!,
      if (offset != null) 'offset': offset!,
      if (orderBys != null)
        'orderBys': orderBys!.map((value) => value.toJson()).toList(),
    };