PlacesResource class
Constructors
- PlacesResource(ApiRequester client)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- photos → PlacesPhotosResource
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
autocomplete(
GoogleMapsPlacesV1AutocompletePlacesRequest request, {String? $fields}) → Future< GoogleMapsPlacesV1AutocompletePlacesResponse> - Returns predictions for the given input.
-
get(
String name, {String? languageCode, String? regionCode, String? sessionToken, String? $fields}) → Future< GoogleMapsPlacesV1Place> -
Get the details of a place based on its resource name, which is a string
in the
places/{place_id}
format. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
searchNearby(
GoogleMapsPlacesV1SearchNearbyRequest request, {String? $fields}) → Future< GoogleMapsPlacesV1SearchNearbyResponse> - Search for places near locations.
-
searchText(
GoogleMapsPlacesV1SearchTextRequest request, {String? $fields}) → Future< GoogleMapsPlacesV1SearchTextResponse> - Text query based place search.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited