SearchCandidate class

Constructors

SearchCandidate({Geometry? geometry, String? businessStatus, OpeningHours? openingHours, List<Photo>? photos, PlusCode? plusCode, String? formattedAddress, String? name, double? rating, String? icon, String? id, String? placeId, int? priceLevel, String? reference, String? scope, List<String>? types, int? userRatingsTotal, String? vicinity, bool? permanentlyClosed})
SearchCandidate.fromJson(Map<String, dynamic> json)
factory

Properties

businessStatus String?
businessStatus indicates the operational status of the place, if it is a business. If no data exists, business_status is not returned. It can contain one of the following values: OPERATIONAL CLOSED_TEMPORARILY CLOSED_PERMANENTLY
final
formattedAddress String?
formattedAddress is a string containing the human-readable address of this place. Often this address is equivalent to the "postal address".
final
geometry Geometry?
geometry contains geometry information about the result, generally including the location (geocode) of the place and (optionally) the viewport identifying its general area of coverage.
final
hashCode int
The hash code for this object.
no setterinherited
icon String?
icon contains the URL of a recommended icon which may be displayed to the user when indicating this result.
final
id String?
id contains id.
final
name String?
name contains the human-readable name for the returned result. For establishment results, this is usually the business name.
final
openingHours OpeningHours?
openingHours show opening hours
final
permanentlyClosed bool?
permanentlyClosed is a boolean flag indicating whether the place has shut down either permanently or temporarily (value true). If the place is operational, or if no data is available, the flag is absent from the response.
final
photos List<Photo>?
photos an array of photo objects, each containing a reference to an image.
final
placeId String?
placeId a textual identifier that uniquely identifies a place. To retrieve information about the place, pass this identifier in the placeId field of a Places API request. For more information about place IDs.
final
plusCode PlusCode?
plusCode is an encoded location reference, derived from latitude and longitude coordinates, that represents an area: 1/8000th of a degree by 1/8000th of a degree (about 14m x 14m at the equator) or smaller. Plus codes can be used as a replacement for street addresses in places where they do not exist (where buildings are not numbered or streets are not named).
final
priceLevel int?
priceLevel The price level of the place, on a scale of 0 to 4. The exact amount indicated by a specific value will vary from region to region. Price levels are interpreted as follows: 0 — Free 1 — Inexpensive 2 — Moderate 3 — Expensive 4 — Very Expensive
final
rating double?
rating contains the place's rating, from 1.0 to 5.0, based on aggregated user reviews.
final
reference String?
reference contains reference.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope String?
scope contains scope.
final
types List<String>?
types contains an array of feature types describing the given result. See the list of supported types. XML responses include multiple
final
userRatingsTotal int?
userRatingsTotal is user ratings total.
final
vicinity String?
vicinity contains a feature name of a nearby location. Often this feature refers to a street or neighborhood within the given results. The vicinity property is only returned for a Nearby Search.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited