getDetailsByReference method

  1. @deprecated
Future<PlacesDetailsResponse> getDetailsByReference(
  1. String reference, {
  2. String? sessionToken,
  3. List<String> fields = const [],
  4. String? language,
})

Implementation

@deprecated
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));
}