KeyRange class Null safety

Annotations
  • @Unstable()
  • @Native("IDBKeyRange")

Constructors

KeyRange.bound(dynamic lower, dynamic upper, [bool lowerOpen = false, bool upperOpen = false])
factory
KeyRange.lowerBound(dynamic bound, [bool open = false])
factory
KeyRange.only(dynamic value)
factory
KeyRange.upperBound(dynamic bound, [bool open = false])
factory

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
lower → Object?
@annotation_Creates_SerializedScriptValue, read-only
lowerOpen → bool?
read-only
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
upper → Object?
@annotation_Creates_SerializedScriptValue, read-only
upperOpen → bool?
read-only

Methods

includes(Object key) → bool
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 ==(Object other) → bool
The equality operator. [...]
inherited

Static Methods

bound_(Object lower, Object upper, [bool? lowerOpen, bool? upperOpen]) → KeyRange
@JSName('bound')
lowerBound_(Object bound, [bool? open]) → KeyRange
@JSName('lowerBound')
only_(Object value) → KeyRange
@JSName('only')
upperBound_(Object bound, [bool? open]) → KeyRange
@JSName('upperBound')