FilterCondition.between constructor

const FilterCondition.between(
  1. {required String property,
  2. Object? lower,
  3. bool includeLower = true,
  4. Object? upper,
  5. bool includeUpper = true,
  6. bool caseSensitive = true,
  7. double epsilon = Query.epsilon}
)

Filters the results to only include objects where the property is between lower and upper.

For lists, at least one of the values in the list has to match.

Implementation

const FilterCondition.between({
  required this.property,
  Object? lower,
  bool includeLower = true,
  Object? upper,
  bool includeUpper = true,
  this.caseSensitive = true,
  this.epsilon = Query.epsilon,
})  : value1 = lower,
      include1 = includeLower,
      value2 = upper,
      include2 = includeUpper,
      type = FilterConditionType.between,
      super._();