FilterCondition<T> class Null safety

Create a filter condition dynamically.

Constructors

FilterCondition({required ConditionType type, required String property, T? value, bool include = false, bool caseSensitive = true})
const
FilterCondition.between({required String property, T? lower, bool includeLower = true, T? upper, bool includeUpper = true, bool caseSensitive = true})
const

Properties

caseSensitive bool
Are string operations case sensitive.
final
hashCode int
The hash code for this object.
read-only, inherited
include1 bool
Should value1 be part of the results.
final
include2 bool
Should value1 be part of the results.
final
property String
Property used for comparisons.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type ConditionType
Type of the filter condition.
final
value1 → T?
Value used for comparisons. Lower bound for ConditionType.between.
final
value2 → T?
Upper bound for ConditionType.between.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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