FirestoreIndexIndexFieldTextSpecEntry class

One entry in text_spec.index_specs. Both fields are schema-optional; combinations are documented in https://firebase.google.com/docs/firestore/text-search.

Annotations
  • @immutable

Constructors

FirestoreIndexIndexFieldTextSpecEntry({TfArg<String>? indexType, TfArg<String>? matchType})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
indexType → TfArg<String>?
Index strategy (TOKEN, NGRAM, etc.). Forward the literal string -- the schema does not expose a typed enum here.
final
matchType → TfArg<String>?
Match strategy (EXACT, PREFIX). Forward the literal string.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode() Map<String, Object?>
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