FilterCriteria<TValue extends dynamic> class

Mixed in types

Constructors

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

Properties

fieldName String
final
hashCode int
The hash code for this object.
no setteroverride
logicalOperator Logic
final
op Operators
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values List<TValue>
final

Methods

copyWith({String fieldName()?, Operators op()?, Logic logicalOperator()?, List<TValue> values()?}) FilterCriteria<TValue>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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>