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.
finalinherited
conditions List<WhereCondition>?
Nested conditions. Leave unchanged for WhereConditions that do not nest.
finalinherited
evaluatedField String
The Dart name of the field. For example, myField when querying final String myField.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isRequired bool
Whether the condition(s) must evaluate to true. Defaults true.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → dynamic
The value to compare on the evaluatedField.
finalinherited

Methods

contains(dynamic value) Where
inherited
doesNotContain(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 nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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