RangeFilter class

Defines minimum and maximum value.

import 'package:database/filters.dart';

final filter = RangeFilter(min:0.0, max:1.0, isExclusiveMax:true);
Inheritance

Constructors

RangeFilter({Object min, Object max, bool isExclusiveMin: false, bool isExclusiveMax: false})

Properties

children Iterable<Filter>
Returns all children/.
read-only, inherited
descendants Iterable<Filter>
Returns all descendants.
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, override
isExclusiveMax bool
final
isExclusiveMin bool
final
max Object
final
min Object
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

accept<T, C>(FilterVisitor<T, C> visitor, C context) → T
Calls the relevant visit method in visitor.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
simplify() Filter
Simplifies the AST tree. For example, nested AND nodes are transformed into a single AND node.
inherited
toString() String
Returns a string built with SearchQueryPrinter.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
override