isBetween method

BetweenExpression isBetween(
  1. Expression<DT> lower,
  2. Expression<DT> higher, {
  3. bool not = false,
})

Returns an expression evaluating to true if this expression is between lower and higher (both inclusive).

If not is set, the expression will be negated. To compare this expression against two values, see isBetweenValues.

Implementation

BetweenExpression isBetween(
  Expression<DT> lower,
  Expression<DT> higher, {
  bool not = false,
}) {
  return BetweenExpression._(
    target: this,
    lower: lower,
    higher: higher,
    not: not,
  );
}