fetchPlace method

Future<FetchPlaceResponse> fetchPlace(
  1. String placeId, {
  2. required List<PlaceField> fields,
  3. bool? newSessionToken,
})

Fetches the details of a place. 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 about billing: https://developers.google.com/maps/documentation/places/web-service/usage-and-billing

Implementation

Future<FetchPlaceResponse> fetchPlace(
  String placeId, {
  required List<PlaceField> fields,
  bool? newSessionToken,
}) {
  throw UnimplementedError('fetchPlaceDetails() has not been implemented.');
}