OrElseExpression<T> class
final
- Inheritance
- Available extensions
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isEmpty
→ Expr<
bool> -
Available on Expr<
Check if the string is empty.String> , provided by the ExpressionString extensionno setter -
isNotEmpty
→ Expr<
bool> -
Available on Expr<
Check if the string is not empty.String> , provided by the ExpressionString extensionno setter -
length
→ Expr<
int> -
Available on Expr<
Get the length of the string.String> , provided by the ExpressionString extensionno setter -
orElse
→ Expr<
T> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
value
→ Expr<
T?> -
final
Methods
-
add(
Expr< double> other) → Expr<double> -
Available on Expr<
Add this expression todouble> , provided by the ExpressionDouble extensionother
. -
add(
Expr< int> other) → Expr<int> -
Available on Expr<
Add this expression toint> , provided by the ExpressionInt extensionother
. -
addValue(
int other) → Expr< int> -
Available on Expr<
Add this expression toint> , provided by the ExpressionInt extensionother
. -
addValue(
double other) → Expr< double> -
Available on Expr<
Add this expression todouble> , provided by the ExpressionDouble extensionother
. -
and(
Expr< bool> other) → Expr<bool> -
Available on Expr<
Logical AND.bool> , provided by the ExpressionBool extension -
asBlob(
) → Expr< Uint8List?> -
Available on Expr<
Cast as Expr<Uint8List?> usingNull> , provided by the ExpressionNull extensionCAST(NULL AS BLOB)
. -
asBool(
) → Expr< bool?> -
Available on Expr<
Cast as Expr<bool?> usingNull> , provided by the ExpressionNull extensionCAST(NULL AS BOOLEAN)
. -
asDateTime(
) → Expr< DateTime?> -
Available on Expr<
Cast as Expr<DateTime?> usingNull> , provided by the ExpressionNull extensionCAST(NULL AS TIMESTAMP)
. -
asDouble(
) → Expr< double> -
Available on Expr<
Cast as double.String> , provided by the ExpressionString extension -
asDouble(
) → Expr< double?> -
Available on Expr<
Cast as Expr<double?> usingNull> , provided by the ExpressionNull extensionCAST(NULL AS DOUBLE PRECISION)
. -
asDouble(
) → Expr< double> -
Available on Expr<
Cast as double.int> , provided by the ExpressionInt extension -
asEncoded(
) → Expr< S> -
Available on Expr<
Get an expression containing the encoded value of the CustomDataType implementation.CustomDataType< , provided by the CustomTypeExt extensionS> > -
asEncoded(
) → Expr< S?> -
Available on Expr<
Get an expression containing the encoded value of the CustomDataType implementation.CustomDataType< , provided by the CustomTypeNullableExt extensionS> ?> -
asInt(
) → Expr< int> -
Available on Expr<
Cast as integer.String> , provided by the ExpressionString extension -
asInt(
) → Expr< int> -
Available on Expr<
Cast as integer.bool> , provided by the ExpressionBool extension -
asInt(
) → Expr< int?> -
Available on Expr<
Cast as Expr<int?> usingNull> , provided by the ExpressionNull extensionCAST(NULL AS BIGINT)
. -
asInt(
) → Expr< int> -
Available on Expr<
Cast as integer.double> , provided by the ExpressionDouble extension -
asNotNull(
) → Expr< T> -
Available on Expr<
Cast as Expr<T> without doing anything in SQL.T?> , provided by the ExpressionNullable extension -
asString(
) → Expr< String?> -
Available on Expr<
Cast as Expr<String?> usingNull> , provided by the ExpressionNull extensionCAST(NULL AS TEXT)
. -
asString(
) → Expr< String> -
Available on Expr<
Cast as string.double> , provided by the ExpressionDouble extension -
asString(
) → Expr< String> -
Available on Expr<
Cast as string.int> , provided by the ExpressionInt extension -
contains(
Expr< String> substring) → Expr<bool> -
Available on Expr<
Check if the string containsString> , provided by the ExpressionString extensionsubstring
. -
containsValue(
String substring) → Expr< bool> -
Available on Expr<
Check if the string containsString> , provided by the ExpressionString extensionsubstring
. -
divide(
Expr< double> other) → Expr<double> -
Available on Expr<
Add this expression todouble> , provided by the ExpressionDouble extensionother
. -
divide(
Expr< int> other) → Expr<double> -
Available on Expr<
Add this expression toint> , provided by the ExpressionInt extensionother
. -
divideValue(
double other) → Expr< double> -
Available on Expr<
Add this expression todouble> , provided by the ExpressionDouble extensionother
. -
divideValue(
int other) → Expr< double> -
Available on Expr<
Add this expression toint> , provided by the ExpressionInt extensionother
. -
endsWith(
Expr< String> value) → Expr<bool> -
Available on Expr<
Check if the string ends withString> , provided by the ExpressionString extensionvalue
. -
endsWithValue(
String value) → Expr< bool> -
Available on Expr<
Check if the string ends withString> , provided by the ExpressionString extensionvalue
. -
equals(
Expr< bool?> value) → Expr<bool> -
Available on Expr<
Compare this expression tobool> , provided by the ExpressionBool extensionvalue
using=
in SQL coalesced toFALSE
. -
equals(
Expr< String?> value) → Expr<bool> -
Available on Expr<
Compare this expression toString> , provided by the ExpressionString extensionvalue
using=
in SQL coalesced toFALSE
. -
equals(
Expr< DateTime?> value) → Expr<bool> -
Available on Expr<
Compare this expression toDateTime> , provided by the ExpressionDateTime extensionvalue
using=
in SQL coalesced toFALSE
. -
equals(
Expr< T?> value) → Expr<bool> -
Available on Expr<
Compare this expression toT> , provided by the ExpressionNum extensionvalue
using=
in SQL coalesced toFALSE
. -
equals(
Expr< T> value) → Expr<bool> -
Available on Expr<
Compare this expression toT?> , provided by the ExpressionNullableNum extensionvalue
using=
in SQL coalesced toFALSE
. -
equals(
Expr< DateTime> value) → Expr<bool> -
Available on Expr<
Compare this expression toDateTime?> , provided by the ExpressionNullableDateTime extensionvalue
using=
in SQL coalesced toFALSE
. -
equals(
Expr< bool> value) → Expr<bool> -
Available on Expr<
Compare this expression tobool?> , provided by the ExpressionNullableBool extensionvalue
using=
in SQL coalesced toFALSE
. -
equals(
Expr< String> value) → Expr<bool> -
Available on Expr<
Compare this expression toString?> , provided by the ExpressionNullableString extensionvalue
using=
in SQL coalesced toFALSE
. -
equalsUnlessNull(
Expr< T?> value) → Expr<bool?> -
Available on Expr<
Compare this expression toT?> , provided by the ExpressionNullableNum extensionvalue
using=
. -
equalsUnlessNull(
Expr< String?> value) → Expr<bool?> -
Available on Expr<
Compare this expression toString?> , provided by the ExpressionNullableString extensionvalue
using=
. -
equalsUnlessNull(
Expr< DateTime?> value) → Expr<bool?> -
Available on Expr<
Compare this expression toDateTime?> , provided by the ExpressionNullableDateTime extensionvalue
using=
. -
equalsUnlessNull(
Expr< bool?> value) → Expr<bool?> -
Available on Expr<
Compare this expression tobool?> , provided by the ExpressionNullableBool extensionvalue
using=
. -
equalsValue(
bool? value) → Expr< bool> -
Available on Expr<
Compare this expression tobool> , provided by the ExpressionBool extensionvalue
using=
in SQL coalesced toFALSE
. -
equalsValue(
bool value) → Expr< bool> -
Available on Expr<
Compare this expression tobool?> , provided by the ExpressionNullableBool extensionvalue
using=
in SQL coalesced toFALSE
. -
equalsValue(
T? value) → Expr< bool> -
Available on Expr<
Compare this expression toT> , provided by the ExpressionNum extensionvalue
using=
in SQL coalesced toFALSE
. -
equalsValue(
DateTime? value) → Expr< bool> -
Available on Expr<
Compare this expression toDateTime> , provided by the ExpressionDateTime extensionvalue
using=
in SQL coalesced toFALSE
. -
equalsValue(
String value) → Expr< bool> -
Available on Expr<
Compare this expression toString?> , provided by the ExpressionNullableString extensionvalue
using=
in SQL coalesced toFALSE
. -
equalsValue(
DateTime value) → Expr< bool> -
Available on Expr<
Compare this expression toDateTime?> , provided by the ExpressionNullableDateTime extensionvalue
using=
in SQL coalesced toFALSE
. -
equalsValue(
T value) → Expr< bool> -
Available on Expr<
Compare this expression toT?> , provided by the ExpressionNullableNum extensionvalue
using=
in SQL coalesced toFALSE
. -
equalsValue(
String? value) → Expr< bool> -
Available on Expr<
Compare this expression toString> , provided by the ExpressionString extensionvalue
using=
in SQL coalesced toFALSE
. -
greaterThan(
Expr< String> other) → Expr<bool> -
Available on Expr<
Check if this expression is less thanString> , provided by the ExpressionString extensionother
. -
greaterThan(
Expr< T> other) → Expr<bool> -
Available on Expr<
Check if this expression is less thanT> , provided by the ExpressionNum extensionother
. -
greaterThanOrEqual(
Expr< String> other) → Expr<bool> -
Available on Expr<
Check if this expression is less thanString> , provided by the ExpressionString extensionother
. -
greaterThanOrEqual(
Expr< T> other) → Expr<bool> -
Available on Expr<
Check if this expression is less thanT> , provided by the ExpressionNum extensionother
. -
greaterThanOrEqualValue(
String other) → Expr< bool> -
Available on Expr<
Check if this expression is less thanString> , provided by the ExpressionString extensionother
. -
greaterThanOrEqualValue(
T other) → Expr< bool> -
Available on Expr<
Check if this expression is less thanT> , provided by the ExpressionNum extensionother
. -
greaterThanValue(
String other) → Expr< bool> -
Available on Expr<
Check if this expression is less thanString> , provided by the ExpressionString extensionother
. -
greaterThanValue(
T other) → Expr< bool> -
Available on Expr<
Check if this expression is less thanT> , provided by the ExpressionNum extensionother
. -
isAfter(
Expr< DateTime> value) → Expr<bool> -
Available on Expr<
Check if this expression is afterDateTime> , provided by the ExpressionDateTime extensionvalue
. -
isAfterValue(
DateTime value) → Expr< bool> -
Available on Expr<
Check if this expression is afterDateTime> , provided by the ExpressionDateTime extensionvalue
. -
isBefore(
Expr< DateTime> value) → Expr<bool> -
Available on Expr<
Check if this expression is beforeDateTime> , provided by the ExpressionDateTime extensionvalue
. -
isBeforeValue(
DateTime value) → Expr< bool> -
Available on Expr<
Check if this expression is beforeDateTime> , provided by the ExpressionDateTime extensionvalue
. -
isFalse(
) → Expr< bool> -
Available on Expr<
True, if this expression evaluates tobool?> , provided by the ExpressionNullableBool extensionFALSE
. -
isNotDistinctFrom(
Expr< DateTime?> value) → Expr<bool> -
Available on Expr<
Compare this expression toDateTime?> , provided by the ExpressionNullableDateTime extensionvalue
usingIS NOT DISTINCT FROM
. -
isNotDistinctFrom(
Expr< T?> value) → Expr<bool> -
Available on Expr<
Compare this expression toT?> , provided by the ExpressionNullableNum extensionvalue
usingIS NOT DISTINCT FROM
. -
isNotDistinctFrom(
Expr< String?> value) → Expr<bool> -
Available on Expr<
Compare this expression toString?> , provided by the ExpressionNullableString extensionvalue
usingIS NOT DISTINCT FROM
. -
isNotDistinctFrom(
Expr< bool?> value) → Expr<bool> -
Available on Expr<
Compare this expression tobool?> , provided by the ExpressionNullableBool extensionvalue
usingIS NOT DISTINCT FROM
. -
isNotNull(
) → Expr< bool> -
Available on Expr<
Check if this expression is notT?> , provided by the ExpressionNullableNum extensionNULL
. -
isNotNull(
) → Expr< bool> -
Available on Expr<
Check if this expression is notbool?> , provided by the ExpressionNullableBool extensionNULL
. -
isNotNull(
) → Expr< bool> -
Available on Expr<
Check if this expression is notString?> , provided by the ExpressionNullableString extensionNULL
. -
isNotNull(
) → Expr< bool> -
Available on Expr<
Check if this expression is notDateTime?> , provided by the ExpressionNullableDateTime extensionNULL
. -
isNull(
) → Expr< bool> -
Available on Expr<
Check if this expression isDateTime?> , provided by the ExpressionNullableDateTime extensionNULL
. -
isNull(
) → Expr< bool> -
Available on Expr<
Check if this expression isT?> , provided by the ExpressionNullableNum extensionNULL
. -
isNull(
) → Expr< bool> -
Available on Expr<
Check if this expression isString?> , provided by the ExpressionNullableString extensionNULL
. -
isNull(
) → Expr< bool> -
Available on Expr<
Check if this expression isbool?> , provided by the ExpressionNullableBool extensionNULL
. -
isTrue(
) → Expr< bool> -
Available on Expr<
True, if this expression evaluates tobool?> , provided by the ExpressionNullableBool extensionTRUE
. -
lessThan(
Expr< String> other) → Expr<bool> -
Available on Expr<
Check if this expression is less thanString> , provided by the ExpressionString extensionother
. -
lessThan(
Expr< T> other) → Expr<bool> -
Available on Expr<
Check if this expression is less thanT> , provided by the ExpressionNum extensionother
. -
lessThanOrEqual(
Expr< T> other) → Expr<bool> -
Available on Expr<
Check if this expression is less thanT> , provided by the ExpressionNum extensionother
. -
lessThanOrEqual(
Expr< String> other) → Expr<bool> -
Available on Expr<
Check if this expression is less thanString> , provided by the ExpressionString extensionother
. -
lessThanOrEqualValue(
T other) → Expr< bool> -
Available on Expr<
Check if this expression is less thanT> , provided by the ExpressionNum extensionother
. -
lessThanOrEqualValue(
String other) → Expr< bool> -
Available on Expr<
Check if this expression is less thanString> , provided by the ExpressionString extensionother
. -
lessThanValue(
String other) → Expr< bool> -
Available on Expr<
Check if this expression is less thanString> , provided by the ExpressionString extensionother
. -
lessThanValue(
T other) → Expr< bool> -
Available on Expr<
Check if this expression is less thanT> , provided by the ExpressionNum extensionother
. -
like(
String pattern) → Expr< bool> -
Available on Expr<
Matches pattern whereString> , provided by the ExpressionString extension%
is one or more characters, and_
is one character. -
multiply(
Expr< int> other) → Expr<int> -
Available on Expr<
Add this expression toint> , provided by the ExpressionInt extensionother
. -
multiply(
Expr< double> other) → Expr<double> -
Available on Expr<
Add this expression todouble> , provided by the ExpressionDouble extensionother
. -
multiplyValue(
int other) → Expr< int> -
Available on Expr<
Add this expression toint> , provided by the ExpressionInt extensionother
. -
multiplyValue(
double other) → Expr< double> -
Available on Expr<
Add this expression todouble> , provided by the ExpressionDouble extensionother
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
not(
) → Expr< bool> -
Available on Expr<
Negate this expression.bool> , provided by the ExpressionBool extension -
notEquals(
Expr< bool?> value) → Expr<bool> -
Available on Expr<
Compare this expression tobool> , provided by the ExpressionBool extensionvalue
using<>
in SQL. -
notEquals(
Expr< DateTime?> value) → Expr<bool> -
Available on Expr<
Compare this expression toDateTime> , provided by the ExpressionDateTime extensionvalue
using<>
in SQL. -
notEquals(
Expr< String> value) → Expr<bool> -
Available on Expr<
Compare this expression toString?> , provided by the ExpressionNullableString extensionvalue
using<>
in SQL. -
notEquals(
Expr< String?> value) → Expr<bool> -
Available on Expr<
Compare this expression toString> , provided by the ExpressionString extensionvalue
using<>
in SQL. -
notEquals(
Expr< T> value) → Expr<bool> -
Available on Expr<
Compare this expression toT?> , provided by the ExpressionNullableNum extensionvalue
using<>
in SQL. -
notEquals(
Expr< T?> value) → Expr<bool> -
Available on Expr<
Compare this expression toT> , provided by the ExpressionNum extensionvalue
using<>
in SQL. -
notEquals(
Expr< DateTime> value) → Expr<bool> -
Available on Expr<
Compare this expression toDateTime?> , provided by the ExpressionNullableDateTime extensionvalue
using<>
in SQL. -
notEquals(
Expr< bool> value) → Expr<bool> -
Available on Expr<
Compare this expression tobool?> , provided by the ExpressionNullableBool extensionvalue
using<>
in SQL. -
notEqualsValue(
String value) → Expr< bool> -
Available on Expr<
Compare this expression toString?> , provided by the ExpressionNullableString extensionvalue
using<>
in SQL. -
notEqualsValue(
T value) → Expr< bool> -
Available on Expr<
Compare this expression toT?> , provided by the ExpressionNullableNum extensionvalue
using<>
in SQL. -
notEqualsValue(
DateTime? value) → Expr< bool> -
Available on Expr<
Compare this expression toDateTime> , provided by the ExpressionDateTime extensionvalue
using<>
in SQL. -
notEqualsValue(
String? value) → Expr< bool> -
Available on Expr<
Compare this expression toString> , provided by the ExpressionString extensionvalue
using<>
in SQL. -
notEqualsValue(
bool? value) → Expr< bool> -
Available on Expr<
Compare this expression tobool> , provided by the ExpressionBool extensionvalue
using<>
in SQL. -
notEqualsValue(
DateTime value) → Expr< bool> -
Available on Expr<
Compare this expression toDateTime?> , provided by the ExpressionNullableDateTime extensionvalue
using<>
in SQL. -
notEqualsValue(
bool value) → Expr< bool> -
Available on Expr<
Compare this expression tobool?> , provided by the ExpressionNullableBool extensionvalue
using<>
in SQL. -
notEqualsValue(
T? value) → Expr< bool> -
Available on Expr<
Compare this expression toT> , provided by the ExpressionNum extensionvalue
using<>
in SQL. -
or(
Expr< bool> other) → Expr<bool> -
Available on Expr<
Logical OR.bool> , provided by the ExpressionBool extension -
orElse(
Expr< String> value) → Expr<String> -
Available on Expr<
If this expression isString?> , provided by the ExpressionNullableString extensionNULL
, usevalue
instead. -
orElse(
Expr< T> value) → Expr<T> -
Available on Expr<
If this expression isT?> , provided by the ExpressionNullableNum extensionNULL
, usevalue
instead. -
orElse(
Expr< DateTime> value) → Expr<DateTime> -
Available on Expr<
If this expression isDateTime?> , provided by the ExpressionNullableDateTime extensionNULL
, usevalue
instead. -
orElse(
Expr< bool> value) → Expr<bool> -
Available on Expr<
If this expression isbool?> , provided by the ExpressionNullableBool extensionNULL
, usevalue
instead. -
orElseValue(
T value) → Expr< T> -
Available on Expr<
If this expression isT?> , provided by the ExpressionNullableNum extensionNULL
, usevalue
instead. -
orElseValue(
String value) → Expr< String> -
Available on Expr<
If this expression isString?> , provided by the ExpressionNullableString extensionNULL
, usevalue
instead. -
orElseValue(
DateTime value) → Expr< DateTime> -
Available on Expr<
If this expression isDateTime?> , provided by the ExpressionNullableDateTime extensionNULL
, usevalue
instead. -
orElseValue(
bool value) → Expr< bool> -
Available on Expr<
If this expression isbool?> , provided by the ExpressionNullableBool extensionNULL
, usevalue
instead. -
startsWith(
Expr< String> value) → Expr<bool> -
Available on Expr<
Check if the string starts withString> , provided by the ExpressionString extensionvalue
. -
startsWithValue(
String value) → Expr< bool> -
Available on Expr<
Check if the string starts withString> , provided by the ExpressionString extensionvalue
. -
subtract(
Expr< double> other) → Expr<double> -
Available on Expr<
Add this expression todouble> , provided by the ExpressionDouble extensionother
. -
subtract(
Expr< int> other) → Expr<int> -
Available on Expr<
Add this expression toint> , provided by the ExpressionInt extensionother
. -
subtractValue(
int other) → Expr< int> -
Available on Expr<
Add this expression toint> , provided by the ExpressionInt extensionother
. -
subtractValue(
double other) → Expr< double> -
Available on Expr<
Add this expression todouble> , provided by the ExpressionDouble extensionother
. -
toLowerCase(
) → Expr< String> -
Available on Expr<
Converts the string to lower case.String> , provided by the ExpressionString extension -
toString(
) → String -
A string representation of this object.
inherited
-
toUpperCase(
) → Expr< String> -
Available on Expr<
Converts the string to upper case.String> , provided by the ExpressionString extension
Operators
-
operator &(
Expr< bool> other) → Expr<bool> -
Available on Expr<
Logical AND.bool> , provided by the ExpressionBool extension -
operator *(
Expr< double> other) → Expr<double> -
Available on Expr<
Add this expression todouble> , provided by the ExpressionDouble extensionother
. -
operator *(
Expr< int> other) → Expr<int> -
Available on Expr<
Add this expression toint> , provided by the ExpressionInt extensionother
. -
operator +(
Expr< double> other) → Expr<double> -
Available on Expr<
Add this expression todouble> , provided by the ExpressionDouble extensionother
. -
operator +(
Expr< int> other) → Expr<int> -
Available on Expr<
Add this expression toint> , provided by the ExpressionInt extensionother
. -
operator -(
Expr< double> other) → Expr<double> -
Available on Expr<
Add this expression todouble> , provided by the ExpressionDouble extensionother
. -
operator -(
Expr< int> other) → Expr<int> -
Available on Expr<
Add this expression toint> , provided by the ExpressionInt extensionother
. -
operator /(
Expr< double> other) → Expr<double> -
Available on Expr<
Add this expression todouble> , provided by the ExpressionDouble extensionother
. -
operator /(
Expr< int> other) → Expr<double> -
Available on Expr<
Add this expression toint> , provided by the ExpressionInt extensionother
. -
operator <(
Expr< DateTime> other) → Expr<bool> -
Available on Expr<
Check if this expression is less thanDateTime> , provided by the ExpressionDateTime extensionother
. -
operator <(
Expr< T> other) → Expr<bool> -
Available on Expr<
Check if this expression is less thanT> , provided by the ExpressionNum extensionother
. -
operator <(
Expr< String> other) → Expr<bool> -
Available on Expr<
Check if this expression is less thanString> , provided by the ExpressionString extensionother
. -
operator <=(
Expr< DateTime> other) → Expr<bool> -
Available on Expr<
Check if this expression is less thanDateTime> , provided by the ExpressionDateTime extensionother
. -
operator <=(
Expr< T> other) → Expr<bool> -
Available on Expr<
Check if this expression is less thanT> , provided by the ExpressionNum extensionother
. -
operator <=(
Expr< String> other) → Expr<bool> -
Available on Expr<
Check if this expression is less thanString> , provided by the ExpressionString extensionother
. -
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator >(
Expr< DateTime> other) → Expr<bool> -
Available on Expr<
Check if this expression is less thanDateTime> , provided by the ExpressionDateTime extensionother
. -
operator >(
Expr< T> other) → Expr<bool> -
Available on Expr<
Check if this expression is less thanT> , provided by the ExpressionNum extensionother
. -
operator >(
Expr< String> other) → Expr<bool> -
Available on Expr<
Check if this expression is less thanString> , provided by the ExpressionString extensionother
. -
operator >=(
Expr< DateTime> other) → Expr<bool> -
Available on Expr<
Check if this expression is less thanDateTime> , provided by the ExpressionDateTime extensionother
. -
operator >=(
Expr< T> other) → Expr<bool> -
Available on Expr<
Check if this expression is less thanT> , provided by the ExpressionNum extensionother
. -
operator >=(
Expr< String> other) → Expr<bool> -
Available on Expr<
Check if this expression is less thanString> , provided by the ExpressionString extensionother
. -
operator |(
Expr< bool> other) → Expr<bool> -
Available on Expr<
Logical OR.bool> , provided by the ExpressionBool extension -
operator ~(
) → Expr< bool> -
Available on Expr<
Negate this expression.bool> , provided by the ExpressionBool extension