searchByText method

Future<SearchByTextResponse> searchByText(
  1. String textQuery, {
  2. required List<PlaceField> fields,
  3. String? includedType,
  4. int? maxResultCount,
  5. LatLngBounds? locationBias,
  6. LatLngBounds? locationRestriction,
  7. double? minRating,
  8. bool? openNow,
  9. List<int>? priceLevels,
  10. TextSearchRankPreference? rankPreference,
  11. String? regionCode,
  12. bool? strictTypeFiltering,
})
inherited

Fetches places based on an ambiguous text query.

Only the requested fields will be returned. If none specified, all fields will be returned.

Note that different fields can incur different billing.

For more info about billing: https://developers.google.com/maps/documentation/places/android-sdk/usage-and-billing#pricing-new

For more info on text search: https://developers.google.com/maps/documentation/places/android-sdk/text-search

Implementation

Future<SearchByTextResponse> searchByText(
  String textQuery, {
  required List<PlaceField> fields,
  String? includedType,
  int? maxResultCount,
  LatLngBounds? locationBias,
  LatLngBounds? locationRestriction,
  double? minRating,
  bool? openNow,
  List<int>? priceLevels,
  TextSearchRankPreference? rankPreference,
  String? regionCode,
  bool? strictTypeFiltering,
}) {
  throw UnimplementedError('fetchPlacePhoto() has not been implemented.');
}