SearchQueriesRequest.fromJson constructor

SearchQueriesRequest.fromJson(
  1. Map json_
)

Implementation

SearchQueriesRequest.fromJson(core.Map json_)
    : this(
        count: json_.containsKey('count') ? json_['count'] as core.int : null,
        cr: json_.containsKey('cr') ? json_['cr'] as core.String : null,
        cx: json_.containsKey('cx') ? json_['cx'] as core.String : null,
        dateRestrict: json_.containsKey('dateRestrict')
            ? json_['dateRestrict'] as core.String
            : null,
        disableCnTwTranslation: json_.containsKey('disableCnTwTranslation')
            ? json_['disableCnTwTranslation'] as core.String
            : null,
        exactTerms: json_.containsKey('exactTerms')
            ? json_['exactTerms'] as core.String
            : null,
        excludeTerms: json_.containsKey('excludeTerms')
            ? json_['excludeTerms'] as core.String
            : null,
        fileType: json_.containsKey('fileType')
            ? json_['fileType'] as core.String
            : null,
        filter: json_.containsKey('filter')
            ? json_['filter'] as core.String
            : null,
        gl: json_.containsKey('gl') ? json_['gl'] as core.String : null,
        googleHost: json_.containsKey('googleHost')
            ? json_['googleHost'] as core.String
            : null,
        highRange: json_.containsKey('highRange')
            ? json_['highRange'] as core.String
            : null,
        hl: json_.containsKey('hl') ? json_['hl'] as core.String : null,
        hq: json_.containsKey('hq') ? json_['hq'] as core.String : null,
        imgColorType: json_.containsKey('imgColorType')
            ? json_['imgColorType'] as core.String
            : null,
        imgDominantColor: json_.containsKey('imgDominantColor')
            ? json_['imgDominantColor'] as core.String
            : null,
        imgSize: json_.containsKey('imgSize')
            ? json_['imgSize'] as core.String
            : null,
        imgType: json_.containsKey('imgType')
            ? json_['imgType'] as core.String
            : null,
        inputEncoding: json_.containsKey('inputEncoding')
            ? json_['inputEncoding'] as core.String
            : null,
        language: json_.containsKey('language')
            ? json_['language'] as core.String
            : null,
        linkSite: json_.containsKey('linkSite')
            ? json_['linkSite'] as core.String
            : null,
        lowRange: json_.containsKey('lowRange')
            ? json_['lowRange'] as core.String
            : null,
        orTerms: json_.containsKey('orTerms')
            ? json_['orTerms'] as core.String
            : null,
        outputEncoding: json_.containsKey('outputEncoding')
            ? json_['outputEncoding'] as core.String
            : null,
        relatedSite: json_.containsKey('relatedSite')
            ? json_['relatedSite'] as core.String
            : null,
        rights: json_.containsKey('rights')
            ? json_['rights'] as core.String
            : null,
        safe: json_.containsKey('safe') ? json_['safe'] as core.String : null,
        searchTerms: json_.containsKey('searchTerms')
            ? json_['searchTerms'] as core.String
            : null,
        searchType: json_.containsKey('searchType')
            ? json_['searchType'] as core.String
            : null,
        siteSearch: json_.containsKey('siteSearch')
            ? json_['siteSearch'] as core.String
            : null,
        siteSearchFilter: json_.containsKey('siteSearchFilter')
            ? json_['siteSearchFilter'] as core.String
            : null,
        sort: json_.containsKey('sort') ? json_['sort'] as core.String : null,
        startIndex: json_.containsKey('startIndex')
            ? json_['startIndex'] as core.int
            : null,
        startPage: json_.containsKey('startPage')
            ? json_['startPage'] as core.int
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
        totalResults: json_.containsKey('totalResults')
            ? json_['totalResults'] as core.String
            : null,
      );