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