FilterCriteria<TValue extends dynamic> class Null safety

Mixed in types

Constructors

FilterCriteria({required String fieldName, required Logic op, required List<TValue> values, required Operators logicalOperator})
const
FilterCriteria.between({required String fieldName, required Logic op, required Operators logicalOperator, required TValue value1, required TValue value2})
FilterCriteria.value({required String fieldName, required Logic op, required Operators logicalOperator, required TValue value})

Properties

fieldName String
final
hashCode int
The hash code for this object. [...]
read-only, override
logicalOperator Operators
final
op Logic
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
values List<TValue>
final

Methods

copyWith({String fieldName()?, Logic op()?, Operators logicalOperator()?, List<TValue> values()?}) FilterCriteria<TValue>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toJsonString() String
inherited
toString() String
A string representation of this object. [...]
override

Operators

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

Static Methods

fromJson<TValue extends dynamic>(Map<String, dynamic> map) FilterCriteria<TValue>