isBetween method

Expression<bool> 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

Implementation

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