textSearch method

void textSearch(
  1. TextSearchRequest? request, [
  2. void callback(
    1. List<PlaceResult?>?,
    2. PlacesServiceStatus?,
    3. PlaceSearchPagination?
    )?
])

Implementation

void textSearch(
  TextSearchRequest? request, [
  void Function(
          List<PlaceResult?>?, PlacesServiceStatus?, PlaceSearchPagination?)?
      callback,
]) {
  callMethod(this, 'textSearch', [
    request,
    callback == null
        ? null
        : allowInterop((p0, p1, p2) => callback(
            p0?.cast<PlaceResult?>(), PlacesServiceStatus$cast(p1), p2))
  ]);
}