Filter class
Describes a filter for choosing a subset of objects. Each filter consists of
a condition and a match statement. The condition is either IS
or IS_NOT
, which specifies whether to include or exclude the
objects that match the statement, respectively. The match statement consists
of a key and a value.
Constructors
- Filter({required FilterConditionString condition, required String key, required String value})
Properties
- condition → FilterConditionString
-
The condition to apply. To include the objects that match the statement,
specify
IS
. To exclude matching objects, specifyIS_NOT
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
The name of the parameter to filter on.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The value to match.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited