W3cubDocs

/Dart 2

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

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

Methods

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

Operators

operator ==(dynamic 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.5.0/dart-indexed_db/KeyRange-class.html