Constant class
A constant Expression.
- Inheritance
-
- Object
- Expression
- Constant
Constructors
- Constant(dynamic value)
- Creates a constant Expression. Currently supports bool and String.
- Constant.bool(bool value)
-
Creates a constant bool expression.
factory
- Constant.string(String value)
-
Creates a constant String expression.
factory
Properties
-
columns
→ List<
Column> -
Returns a list of all
Column
s in the expression.no setterinherited -
depthFirst
→ Iterable<
Expression> -
Iterator for all
Expression
s in the expression. Iterates elements deterministically depth first.no setterinherited - expression → String
-
Retrieves expression as a string.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
forEachDepthFirstIndexed(
void action(int index, Expression expression)) → void -
Takes an action for each element.
inherited
-
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 &(
dynamic other) → Expression -
Database AND operator.
inherited
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator |(
dynamic other) → Expression -
Database OR operator.
inherited