toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (documentQuery != null) 'documentQuery': documentQuery!,
      if (histogramQueries != null) 'histogramQueries': histogramQueries!,
      if (offset != null) 'offset': offset!,
      if (orderBy != null) 'orderBy': orderBy!,
      if (pageSize != null) 'pageSize': pageSize!,
      if (pageToken != null) 'pageToken': pageToken!,
      if (qaSizeLimit != null) 'qaSizeLimit': qaSizeLimit!,
      if (requestMetadata != null) 'requestMetadata': requestMetadata!,
      if (requireTotalSize != null) 'requireTotalSize': requireTotalSize!,
      if (totalResultSize != null) 'totalResultSize': totalResultSize!,
    };