toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (histogramQueryResults != null)
    'histogramQueryResults': histogramQueryResults!,
  if (matchingDocuments != null) 'matchingDocuments': matchingDocuments!,
  if (metadata != null) 'metadata': metadata!,
  if (nextPageToken != null) 'nextPageToken': nextPageToken!,
  if (questionAnswer != null) 'questionAnswer': questionAnswer!,
  if (totalSize != null) 'totalSize': totalSize!,
};