toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dimensions != null) 'dimensions': dimensions!,
      if (endDate != null) 'end-date': endDate!,
      if (filters != null) 'filters': filters!,
      if (ids != null) 'ids': ids!,
      if (maxResults != null) 'max-results': maxResults!,
      if (metrics != null) 'metrics': metrics!,
      if (samplingLevel != null) 'samplingLevel': samplingLevel!,
      if (segment != null) 'segment': segment!,
      if (sort != null) 'sort': sort!,
      if (startDate != null) 'start-date': startDate!,
      if (startIndex != null) 'start-index': startIndex!,
    };