toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final debugInfo = this.debugInfo;
  final errorInfo = this.errorInfo;
  final facetResults = this.facetResults;
  final hasMoreResults = this.hasMoreResults;
  final queryInterpretation = this.queryInterpretation;
  final resultCountEstimate = this.resultCountEstimate;
  final resultCountExact = this.resultCountExact;
  final resultCounts = this.resultCounts;
  final results = this.results;
  final spellResults = this.spellResults;
  final structuredResults = this.structuredResults;
  return {
    'debugInfo': ?debugInfo,
    'errorInfo': ?errorInfo,
    'facetResults': ?facetResults,
    'hasMoreResults': ?hasMoreResults,
    'queryInterpretation': ?queryInterpretation,
    'resultCountEstimate': ?resultCountEstimate,
    'resultCountExact': ?resultCountExact,
    'resultCounts': ?resultCounts,
    'results': ?results,
    'spellResults': ?spellResults,
    'structuredResults': ?structuredResults,
  };
}