SearchSnippet class final

Requested snippets bitmask.

Snippets are additional pieces of information (possibly from different services) which are not directly stored in object metadata but may be requested separately based on client needs.

Different snippets are applicable to different objects: some of the snippets can be provided only for toponyms, some for businesses and some for all object types.

Constructors

SearchSnippet(int value)
const

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

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

Operators

operator &(SearchSnippet other) SearchSnippet
operator ==(covariant SearchSnippet other) bool
The equality operator.
override
operator |(SearchSnippet other) SearchSnippet
operator ~() SearchSnippet

Constants

BusinessRating1x → const SearchSnippet
Information about ratings (can be requested for a business). See search_business_rating_1x_object_metadata.SearchBusinessRating1xObjectMetadata.
None → const SearchSnippet
Default value: no snippets requested.
Panoramas → const SearchSnippet
Nearest panoramas to this point. See search_panoramas_object_metadata.SearchPanoramasObjectMetadata.
Photos → const SearchSnippet
Related photos snippet (can be requested for a business or toponym). See search_business_photo_object_metadata.SearchBusinessPhotoObjectMetadata.