getDetailsByPlaceId method
Implementation
Future<PlacesDetailsResponse> getDetailsByPlaceId(
String placeId, {
String? sessionToken,
List<String> fields = const [],
String? language,
String? region,
}) async {
final url = buildDetailsUrl(
placeId: placeId,
sessionToken: sessionToken,
fields: fields,
language: language,
region: region,
);
return _decodeDetailsResponse(await doGet(url, headers: apiHeaders));
}