and method

FilterExpr and(
  1. FilterExpr other
)

Implementation

FilterExpr and(FilterExpr other) {
  if (this is FilterAnd) {
    var and = this as FilterAnd;
    return FilterAnd([...and.filters, other]);
  }
  return FilterAnd([this, other]);
}