Expression class abstract
Represents an expression that is either static or evaluated for every individual dataset and evaluates into a value.
See: ValueExpression DataField
- Implementers
Constructors
- Expression()
-
const
- Expression.dynamic(dynamic expression)
-
This factory constructor checks if the value is an expression itself
or returns a ValueExpression that wraps the given value otherwise.
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
-
asc(
) → Sort - Creates a Sort that orders ascending by this expression.
-
contains(
dynamic other) → Filter -
Convenience method for creating a CompareFilter which matches
if this contains
other
. -
desc(
) → Sort - Creates a Sort that orders descending by this expression.
-
equals(
dynamic other) → Filter -
Convenience method for creating a CompareFilter which matches
if this equals
other
. -
greaterOrEqual(
dynamic other) → Filter -
Convenience method for creating a CompareFilter which matches
if this is greater than or equals
other
. -
greaterThan(
dynamic other) → Filter -
Convenience method for creating a CompareFilter which matches
if this is greater than
other
. -
isIn(
dynamic other) → Filter -
Convenience method for creating a CompareFilter which matches
if this is in
other
. -
lessOrEqual(
dynamic other) → Filter -
Convenience method for creating a CompareFilter which matches
if this is less than or equals
other
. -
lessThan(
dynamic other) → Filter -
Convenience method for creating a CompareFilter which matches
if this is less than
other
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notEquals(
dynamic other) → Filter -
Convenience method for creating a CompareFilter which matches
if this does not equal
other
. -
sort(
bool ascending) → Sort - Creates a Sort that orders by this expression.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited