toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (includeQueryPredictions != null)
        'includeQueryPredictions': includeQueryPredictions!,
      if (includedPrimaryTypes != null)
        'includedPrimaryTypes': includedPrimaryTypes!,
      if (includedRegionCodes != null)
        'includedRegionCodes': includedRegionCodes!,
      if (input != null) 'input': input!,
      if (inputOffset != null) 'inputOffset': inputOffset!,
      if (languageCode != null) 'languageCode': languageCode!,
      if (locationBias != null) 'locationBias': locationBias!,
      if (locationRestriction != null)
        'locationRestriction': locationRestriction!,
      if (origin != null) 'origin': origin!,
      if (regionCode != null) 'regionCode': regionCode!,
      if (sessionToken != null) 'sessionToken': sessionToken!,
    };