nearbySearch method

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

Implementation

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