getDetailsByReference method
- @Deprecated("Use [getDetailsByPlaceId] instead")
Implementation
@Deprecated("Use [getDetailsByPlaceId] instead")
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));
}