FilterFacet class final
A FilterFacet matches exactly an attribute with a value. An optional score allows to assign a priority between several FilterFacet that are evaluated in the same filter group.
- Implemented types
Properties
- attribute → String
-
The attribute this filter applies on.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isNegated → bool
-
Whether or not the filter is negated.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- score → int?
-
Filter facet score.
final
- value → dynamic
-
Facet filter value (String, bool or num).
final
Methods
-
copyWith(
{String? attribute, dynamic value, bool? isNegated, int? score}) → FilterFacet - Make a copy of the facet filter.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
not(
) → FilterFacet -
Negates a FilterFacet.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override