Expression class abstract
Defines a business filtering expression
Filtering expressions can be composed and aggregated to perform a more complex expression.
- Implementers
- Available extensions
Constructors
- Expression()
-
const
- Expression.and(Expression left, Expression right)
-
Creates an expression that is true when
left
andright
are true.factory - Expression.equal(String fieldPath, dynamic value)
-
Creates an expression that filters a field for a value.
factory
- Expression.greaterOrEqualThan(String fieldPath, dynamic value)
-
Creates an expression that filters a field for a value that is greater
or equal to the given
value
.factory - Expression.greaterThan(String fieldPath, dynamic value)
-
Creates an expression that filters a field for a value that
is greater than
the given
value
.factory - Expression.inValues(String fieldPath, List values)
-
Creates an expression that filters a field for a set of possible values.
factory
- Expression.lessOrEqualThan(String fieldPath, dynamic value)
-
Creates an expression that filters a field for a value that is lesser
or equal to the given
value
.factory - Expression.lessThan(String fieldPath, dynamic value)
-
Creates an expression that filters a field for a value that is less
than the given
value
.factory - Expression.like(String fieldPath, dynamic value)
-
Creates an expression that filters a field for a pattern match of a value.
factory
- Expression.not(Expression expression)
-
Creates an expression that is the boolean opposite of
expression
.factory - Expression.notEqual(String fieldPath, dynamic value)
-
Creates an expression that filters a field for a value different
from the given
value
.factory - Expression.or(Expression left, Expression right)
-
Creates an expression that is true when
left
orright
are true.factory
Properties
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited