FilterGroupID class final

Identifier of a filter group. The group name is for access purpose only, won't be used for the actual filters generation.

Conjunctive filter group ID

Used to identify a conjunctive group, (e.g. (color:red AND color:blue)).

const groupID = FilterGroupID('colors', FilterOperator.and);

Disjunctive filter group ID

Used to identify a disjunctive group (e.g. (color:red OR color:blue)).

const groupID = FilterGroupID('colors', FilterOperator.or);

Constructors

FilterGroupID([String name = '', FilterOperator operator = FilterOperator.and])
const
FilterGroupID.and([String name = ''])
Create and FilterGroupID with operator FilterOperator.and.
factory
FilterGroupID.or([String name = ''])
Create and FilterGroupID with operator FilterOperator.or.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
name String
Filters group name
final
operator FilterOperator
Operator to combine filters
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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