toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (count != null) 'count': count!,
      if (cr != null) 'cr': cr!,
      if (cx != null) 'cx': cx!,
      if (dateRestrict != null) 'dateRestrict': dateRestrict!,
      if (disableCnTwTranslation != null)
        'disableCnTwTranslation': disableCnTwTranslation!,
      if (exactTerms != null) 'exactTerms': exactTerms!,
      if (excludeTerms != null) 'excludeTerms': excludeTerms!,
      if (fileType != null) 'fileType': fileType!,
      if (filter != null) 'filter': filter!,
      if (gl != null) 'gl': gl!,
      if (googleHost != null) 'googleHost': googleHost!,
      if (highRange != null) 'highRange': highRange!,
      if (hl != null) 'hl': hl!,
      if (hq != null) 'hq': hq!,
      if (imgColorType != null) 'imgColorType': imgColorType!,
      if (imgDominantColor != null) 'imgDominantColor': imgDominantColor!,
      if (imgSize != null) 'imgSize': imgSize!,
      if (imgType != null) 'imgType': imgType!,
      if (inputEncoding != null) 'inputEncoding': inputEncoding!,
      if (language != null) 'language': language!,
      if (linkSite != null) 'linkSite': linkSite!,
      if (lowRange != null) 'lowRange': lowRange!,
      if (orTerms != null) 'orTerms': orTerms!,
      if (outputEncoding != null) 'outputEncoding': outputEncoding!,
      if (relatedSite != null) 'relatedSite': relatedSite!,
      if (rights != null) 'rights': rights!,
      if (safe != null) 'safe': safe!,
      if (searchTerms != null) 'searchTerms': searchTerms!,
      if (searchType != null) 'searchType': searchType!,
      if (siteSearch != null) 'siteSearch': siteSearch!,
      if (siteSearchFilter != null) 'siteSearchFilter': siteSearchFilter!,
      if (sort != null) 'sort': sort!,
      if (startIndex != null) 'startIndex': startIndex!,
      if (startPage != null) 'startPage': startPage!,
      if (title != null) 'title': title!,
      if (totalResults != null) 'totalResults': totalResults!,
    };