searchNearby method
Future<SearchNearbyResponse>
searchNearby({
- required List<
PlaceField> fields, - required CircularBounds locationRestriction,
- List<
String> ? includedTypes, - List<
String> ? includedPrimaryTypes, - List<
String> ? excludedTypes, - List<
String> ? excludedPrimaryTypes, - NearbySearchRankPreference? rankPreference,
- String? regionCode,
- int? maxResultCount,
inherited
Search for place(s) of interest using a location.
Only the requested fields
will be returned. If none specified,
all fields will be returned.
Note that different fields can incur different billing.
For more info on nearby search: https://developers.google.com/maps/documentation/places/android-sdk/nearby-search
Implementation
Future<SearchNearbyResponse> searchNearby({
required List<PlaceField> fields,
required CircularBounds locationRestriction,
List<String>? includedTypes,
List<String>? includedPrimaryTypes,
List<String>? excludedTypes,
List<String>? excludedPrimaryTypes,
NearbySearchRankPreference? rankPreference,
String? regionCode,
int? maxResultCount,
}) {
throw UnimplementedError('searchNearby() has not been implemented.');
}