toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cohortSpec != null) 'cohortSpec': cohortSpec!,
      if (currencyCode != null) 'currencyCode': currencyCode!,
      if (dateRanges != null) 'dateRanges': dateRanges!,
      if (dimensionFilter != null) 'dimensionFilter': dimensionFilter!,
      if (dimensions != null) 'dimensions': dimensions!,
      if (keepEmptyRows != null) 'keepEmptyRows': keepEmptyRows!,
      if (metricFilter != null) 'metricFilter': metricFilter!,
      if (metrics != null) 'metrics': metrics!,
      if (pivots != null) 'pivots': pivots!,
      if (property != null) 'property': property!,
      if (returnPropertyQuota != null)
        'returnPropertyQuota': returnPropertyQuota!,
    };