toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dateRange != null) 'dateRange': dateRange!,
      if (dimensionFilters != null) 'dimensionFilters': dimensionFilters!,
      if (dimensions != null) 'dimensions': dimensions!,
      if (localizationSettings != null)
        'localizationSettings': localizationSettings!,
      if (maxReportRows != null) 'maxReportRows': maxReportRows!,
      if (metrics != null) 'metrics': metrics!,
      if (sortConditions != null) 'sortConditions': sortConditions!,
      if (timeZone != null) 'timeZone': timeZone!,
    };