toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      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 (priceLevels != null) 'priceLevels': priceLevels!,
      if (rankPreference != null) 'rankPreference': rankPreference!,
      if (regionCode != null) 'regionCode': regionCode!,
      if (strictTypeFiltering != null)
        'strictTypeFiltering': strictTypeFiltering!,
      if (textQuery != null) 'textQuery': textQuery!,
    };