TextSearchItem<T> class

Represents a single item that can be searched for. The terms are all variants that match the item. For e.g. an item PlaceType.coffee_shop could have terms: 'coffee', 'latte', etc.

Constructors

TextSearchItem(T object, Iterable<TextSearchItemTerm> terms)
const
TextSearchItem.fromTerms(T object, Iterable<String> terms)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
object → T
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
terms Iterable<TextSearchItemTerm>
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