Or class

Generate an optional condition.

Inheritance

Constructors

Or(String evaluatedField)
const

Properties

compare Compare
The kind of comparison of the evaluatedField to the value. Defaults to Compare.equals. It is the responsibility of the Provider to ignore or interpret the requested comparison.
final, inherited
conditions List<WhereCondition>
Nested conditions. Leave unchanged for WhereConditions that do not nest.
final, inherited
evaluatedField String
The Dart name of the field. For example, myField when querying final String myField. [...]
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
required bool
Whether the condition(s) must evaluate to true. Defaults true. [...]
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value → dynamic
The value to compare on the evaluatedField.
final, inherited

Methods

contains(dynamic value) Where
inherited
isBetween(dynamic value1, dynamic value2) Where
inherited
isExactly(dynamic value) Where
inherited
isGreaterThan(dynamic value) Where
inherited
isGreaterThanOrEqualTo(dynamic value) Where
inherited
isLessThan(dynamic value) Where
inherited
isLessThanOrEqualTo(dynamic value) Where
inherited
isNot(dynamic value) Where
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited