AndOperator<T extends Object> class final

Logical AND filter requiring all conditions to match.

All provided filters must match for a record to be included.

Supported with: .and factory method

Inheritance

Constructors

AndOperator(Iterable<Filter<T>> filters)
Creates a logical AND filter combining the specified filters.
const

Properties

filters Iterable<Filter<T>>
The list of filters to combine with logical operation.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
operator FilterOperator
The logical operator used to combine filters.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

matches(T other) bool
Whether this filter matches the given other instance.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Converts this filter to JSON format for API queries.
inherited
toString() String
A string representation of this object.
inherited

Operators

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