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
- Available extensions
Constructors
- Expression.new()
-
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 -
Available on Expression, provided by the ExpressionExtension extension
Creates a Sort that orders ascending by this expression. -
contains(
dynamic other) → Filter -
Available on Expression, provided by the ExpressionExtension extension
Convenience method for creating a CompareFilter which matches if this containsother
. -
desc(
) → Sort -
Available on Expression, provided by the ExpressionExtension extension
Creates a Sort that orders descending by this expression. -
equals(
dynamic other) → Filter -
Available on Expression, provided by the ExpressionExtension extension
Convenience method for creating a CompareFilter which matches if this equalsother
. -
greaterOrEqual(
dynamic other) → Filter -
Available on Expression, provided by the ExpressionExtension extension
Convenience method for creating a CompareFilter which matches if this is greater than or equalsother
. -
greaterThan(
dynamic other) → Filter -
Available on Expression, provided by the ExpressionExtension extension
Convenience method for creating a CompareFilter which matches if this is greater thanother
. -
isIn(
dynamic other) → Filter -
Available on Expression, provided by the ExpressionExtension extension
Convenience method for creating a CompareFilter which matches if this is inother
. -
lessOrEqual(
dynamic other) → Filter -
Available on Expression, provided by the ExpressionExtension extension
Convenience method for creating a CompareFilter which matches if this is less than or equalsother
. -
lessThan(
dynamic other) → Filter -
Available on Expression, provided by the ExpressionExtension extension
Convenience method for creating a CompareFilter which matches if this is less thanother
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notEquals(
dynamic other) → Filter -
Available on Expression, provided by the ExpressionExtension extension
Convenience method for creating a CompareFilter which matches if this does not equalother
. -
sort(
bool ascending) → Sort -
Available on Expression, provided by the ExpressionExtension extension
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