positionBetween method

QueryBuilder<MediaItem, MediaItem, QAfterFilterCondition> positionBetween(
  1. int lower,
  2. int upper,
  3. {bool includeLower = true,
  4. bool includeUpper = true}
)

Implementation

QueryBuilder<MediaItem, MediaItem, QAfterFilterCondition> positionBetween(
  int lower,
  int upper, {
  bool includeLower = true,
  bool includeUpper = true,
}) {
  return QueryBuilder.apply(this, (query) {
    return query.addFilterCondition(FilterCondition.between(
      property: r'position',
      lower: lower,
      includeLower: includeLower,
      upper: upper,
      includeUpper: includeUpper,
    ));
  });
}