StructuredQuery class

The options to specify a structured query.

Only supported in OfflineSearchEngine (only available for the Navigate license).

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

Constructors

StructuredQuery(String query, GeoCoordinates areaCenter)

Properties

addressElements StructuredQueryAddressElements
Query address elements to get the results from a specific geographical area.
getter/setter pair
areaCenter GeoCoordinates
Geographic coordinates of the prioritized area center.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
query ↔ String
Desired query to search.
getter/setter pair
resultType StructuredQueryResultType?
An optional field to indicates the type of result expected.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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.