queryAutocomplete method
Implementation
Future<PlacesAutocompleteResponse> queryAutocomplete(
String input, {
num? offset,
Location? location,
num? radius,
String? language,
}) async {
final url = buildQueryAutocompleteUrl(
input: input,
location: location,
offset: offset,
radius: radius,
language: language,
);
return _decodeAutocompleteResponse(await doGet(url, headers: apiHeaders));
}