Filter class

A utility class that represents a filter condition for database queries.

This class is used to convert Flutter Data's filter syntax into Appwrite's query format. It handles both simple equality filters and complex operator-based filters.

Constructors

Filter(String field, dynamic value, String operator)
Creates a new filter with the specified field, value, and operator
Filter.fromJson(Map<String, dynamic> json)
Creates a Filter instance from a JSON map.
factory

Properties

field String
The field name to filter on
final
hashCode int
The hash code for this object.
no setterinherited
operator String
The operator to use for comparison
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → dynamic
The value to compare against
final

Methods

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

Operators

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