OrFilter class

A compound filter that combines multiple filters with a logical OR operation.

This filter will match database items that satisfy at least one of the sub-filters it contains.

Throws an AssertionError if fewer than two filters are provided.

Inheritance
Annotations
  • @immutable

Constructors

OrFilter.new(List<Filter> filters)

Properties

filters List<Filter>
The list of sub-filters to be combined with OR logic.
final
hashCode int
The hash code for this object.
no setterinherited
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
toMap() Map<String, dynamic>
Converts the filter to a map representation compatible with the Notion API.
override
toString() String
A string representation of this object.
inherited

Operators

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