getPlacePredictions method
Future<AutocompleteResponse>
getPlacePredictions(
- AutocompletionRequest? request, [
- void callback()?
Implementation
Future<AutocompleteResponse> getPlacePredictions(
AutocompletionRequest? request, [
void Function(List<AutocompletePrediction?>?, PlacesServiceStatus?)?
callback,
]) =>
promiseToFuture(callMethod(this, 'getPlacePredictions', [
request,
callback == null
? null
: allowInterop(
(p0, p1) => callback(p0, PlacesServiceStatus$cast(p1)))
]));