toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dimensions != null) 'dimensions': dimensions!,
      if (filter != null) 'filter': filter!,
      if (metrics != null) 'metrics': metrics!,
      if (pageSize != null) 'pageSize': pageSize!,
      if (pageToken != null) 'pageToken': pageToken!,
      if (timeRange != null) 'timeRange': timeRange!,
      if (timestampOrder != null) 'timestampOrder': timestampOrder!,
      if (windowSize != null) 'windowSize': windowSize!,
    };