WhereOperator enum

A where filter's comparison, Firestore's operators.

Inheritance
Available extensions

Values

equal → const WhereOperator
const WhereOperator('==')
notEqual → const WhereOperator
const WhereOperator('!=')
lessThan → const WhereOperator
const WhereOperator('<')
lessThanOrEqual → const WhereOperator
const WhereOperator('<=')
greaterThan → const WhereOperator
const WhereOperator('>')
greaterThanOrEqual → const WhereOperator
const WhereOperator('>=')
arrayContains → const WhereOperator
const WhereOperator('array-contains')
arrayContainsAny → const WhereOperator
const WhereOperator('array-contains-any')
inArray → const WhereOperator
const WhereOperator('in')
notInArray → const WhereOperator
const WhereOperator('not-in')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
isEquality → bool
==, array-contains, array-contains-any, in.
no setter
isInequality → bool
Range filters, != and not-in: they need an index on their field.
no setter
isRange → bool
<, <=, >, >=.
no setter
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
symbol → String
The operator as Firestore writes it.
final
takesList → bool
Whether the compared value is a list (in, not-in, array-contains-any).
no setter

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

Constants

values → const List<WhereOperator>
A constant List of the values in this enum, in order of their declaration.