toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dimensions != null) 'dimensions': dimensions!,
      if (filters != null) 'filters': filters!,
      if (ids != null) 'ids': ids!,
      if (maxResults != null) 'max-results': maxResults!,
      if (metrics != null) 'metrics': metrics!,
      if (sort != null) 'sort': sort!,
    };