toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (cohortSpec != null) 'cohortSpec': cohortSpec!.toJson(),
if (currencyCode != null) 'currencyCode': currencyCode!,
if (dateRanges != null)
'dateRanges': dateRanges!.map((value) => value.toJson()).toList(),
if (dimensionFilter != null)
'dimensionFilter': dimensionFilter!.toJson(),
if (dimensions != null)
'dimensions': dimensions!.map((value) => value.toJson()).toList(),
if (keepEmptyRows != null) 'keepEmptyRows': keepEmptyRows!,
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 (offset != null) 'offset': offset!,
if (orderBys != null)
'orderBys': orderBys!.map((value) => value.toJson()).toList(),
if (property != null) 'property': property!,
if (returnPropertyQuota != null)
'returnPropertyQuota': returnPropertyQuota!,
};