AutomaticFacetFilter class final
- Annotations
-
- @JsonSerializable()
Constructors
- AutomaticFacetFilter({required String facet, int? score, bool? disjunctive})
-
Returns a new AutomaticFacetFilter instance.
const
-
AutomaticFacetFilter.fromJson(Map<
String, dynamic> json) -
factory
Properties
- disjunctive → bool?
-
Whether the filter is disjunctive (true) or conjunctive (false).
final
- facet → String
-
Attribute to filter on. This must match a facet placeholder in the Rule's pattern.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- score → int?
-
Score for the filter. Typically used for optional or disjunctive filters.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override