getQueryPredictions method

void getQueryPredictions(
  1. QueryAutocompletionRequest? request, [
  2. void callback(
    1. List<QueryAutocompletePrediction?>?,
    2. PlacesServiceStatus?
    )?
])

Implementation

void getQueryPredictions(
  QueryAutocompletionRequest? request, [
  void Function(List<QueryAutocompletePrediction?>?, PlacesServiceStatus?)?
      callback,
]) {
  callMethod(this, 'getQueryPredictions', [
    request,
    callback == null
        ? null
        : allowInterop((p0, p1) => callback(
            p0?.cast<QueryAutocompletePrediction?>(),
            PlacesServiceStatus$cast(p1)))
  ]);
}