GmhSearchParams class
Properties
apiKey
→ String
The Google Places API key
final
countryCode
→ String ?
The country code to restrict results (ISO 3166-1 Alpha-2 format).
final
directionsKey
→ String ?
Google Directions Key
WARNING: Costs may increase as the Direction API is called for each result.
This can be same as apiKey if it contains Google Directions API access
Provide only if you want distance between loc & address in the result
final
hashCode
→ int
The hash code for this object.
no setter inherited
lang
→ String ?
The language code for the results (e.g., 'en' for English).
final
limit
→ int
Max. number of search results
final
loc
→ LatLng ?
The latitude and longitude coordinates to search around.
final
radius
→ int ?
The radius (in meters) within which to return place results.
Must be greater than 0 and less than or equal to 50,000.
final
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
searchNearby
→ bool
Search nearby postal codes for more results.
WARNING: Costs may increase as the Search Nearby API is called for each postal code.
final
strictBounds
→ bool
Whether to enforce strict bounds when latLng
and radius
are provided.
final
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query ()
→ Map <String , dynamic >
Converts the search parameters into a map
toString ()
→ String
A string representation of this object.
override