toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (evOptions != null) 'evOptions': evOptions!,
      if (includedType != null) 'includedType': includedType!,
      if (languageCode != null) 'languageCode': languageCode!,
      if (locationBias != null) 'locationBias': locationBias!,
      if (locationRestriction != null)
        'locationRestriction': locationRestriction!,
      if (maxResultCount != null) 'maxResultCount': maxResultCount!,
      if (minRating != null) 'minRating': minRating!,
      if (openNow != null) 'openNow': openNow!,
      if (pageSize != null) 'pageSize': pageSize!,
      if (pageToken != null) 'pageToken': pageToken!,
      if (priceLevels != null) 'priceLevels': priceLevels!,
      if (rankPreference != null) 'rankPreference': rankPreference!,
      if (regionCode != null) 'regionCode': regionCode!,
      if (strictTypeFiltering != null)
        'strictTypeFiltering': strictTypeFiltering!,
      if (textQuery != null) 'textQuery': textQuery!,
    };