KeyRange class

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

hashCodeint
read-only, inherited
The hash code for this object. [...]
lowerObject?
@annotation_Creates_SerializedScriptValue, read-only
lowerOpenbool?
read-only
runtimeTypeType
read-only, inherited
A representation of the runtime type of the object.
upperObject?
@annotation_Creates_SerializedScriptValue, read-only
upperOpenbool?
read-only

Methods

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

Operators

operator ==(Object other) → bool
inherited
The equality operator. [...]

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')

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-indexed_db/KeyRange-class.html