FilterResponse class

A generic way of expressing filters in a query, which supports two approaches: 1. Setting a ValueFilter. The name must match an operator_name defined in the schema for your data source. 2. Setting a CompositeFilter. The filters are evaluated using the logical operator. The top-level operators can only be either an AND or a NOT. AND can appear only at the top-most level. OR can appear only under a top-level AND.

Constructors

FilterResponse({required Input<CompositeFilterResponse> compositeFilter, required Input<ValueFilterResponse> valueFilter})
Creates a new FilterResponse. compositeFilter Required. valueFilter Required.
const
FilterResponse.fromMap(Map<String, dynamic> map)
factory

Properties

compositeFilter → Input<CompositeFilterResponse>
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
valueFilter → Input<ValueFilterResponse>
final

Methods

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

Operators

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