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 (metricFilter != null) 'metricFilter': metricFilter!.toJson(),
if (metrics != null)
'metrics': metrics!.map((value) => value.toJson()).toList(),
if (pivots != null)
'pivots': pivots!.map((value) => value.toJson()).toList(),
if (property != null) 'property': property!,
if (returnPropertyQuota != null)
'returnPropertyQuota': returnPropertyQuota!,
};