toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dimensionFilter != null)
        'dimensionFilter': dimensionFilter!.toJson(),
      if (dimensions != null)
        'dimensions': dimensions!.map((value) => value.toJson()).toList(),
      if (limit != null) 'limit': limit!,
      if (metricAggregations != null)
        'metricAggregations': metricAggregations!,
      if (metricFilter != null) 'metricFilter': metricFilter!.toJson(),
      if (metrics != null)
        'metrics': metrics!.map((value) => value.toJson()).toList(),
      if (minuteRanges != null)
        'minuteRanges': minuteRanges!.map((value) => value.toJson()).toList(),
      if (orderBys != null)
        'orderBys': orderBys!.map((value) => value.toJson()).toList(),
      if (returnPropertyQuota != null)
        'returnPropertyQuota': returnPropertyQuota!,
    };