Filter<K extends Comparable, V> class Null safety

Defines a filter that can be used with FilteredMap objects.

A Filter defines:

The reversed property determines if the limit is applied from the start or from the end.

Constructors

Filter({Ordering ordering = const Ordering.byKey(), int? limit, bool reversed = false, KeyValueInterval validInterval = const KeyValueInterval()})
Creates a Filter instance.
const

Properties

hashCode int
The hash code for this object. [...]
read-only, override
limit int?
The number of elements allowed in a set.
final
ordering Ordering
The ordering.
final
reversed bool
Determines if the limit is applied from the start or from the end.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
validInterval KeyValueInterval
The interval of acceptable values.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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