searchNearbyWithRadius method
Future<PlacesSearchResponse>
searchNearbyWithRadius(
- Location location,
- num radius, {
- String? type,
- String? keyword,
- String? language,
- PriceLevel? minprice,
- PriceLevel? maxprice,
- String? name,
- String? pagetoken,
Implementation
Future<PlacesSearchResponse> searchNearbyWithRadius(
Location location,
num radius, {
String? type,
String? keyword,
String? language,
PriceLevel? minprice,
PriceLevel? maxprice,
String? name,
String? pagetoken,
}) async {
final url = buildNearbySearchUrl(
location: location,
language: language,
radius: radius,
type: type,
keyword: keyword,
minprice: minprice,
maxprice: maxprice,
name: name,
pagetoken: pagetoken,
);
return _decodeSearchResponse(await doGet(url, headers: apiHeaders));
}