Dart SDK
dart:indexed_db
OpenDBRequest
class
OpenDBRequest
Constants
Properties
Constants
blockedEvent
upgradeNeededEvent
Properties
onBlocked
onUpgradeNeeded
on
error
readyState
result
source
transaction
onError
onSuccess
Methods
addEventListener
removeEventListener
dispatchEvent
(Not documented.)
Annotations
DocsEditable()
DomName('IDBOpenDBRequest')
Unstable()
Extends
Object
EventTarget
Request
OpenDBRequest
Constants
EventStreamProvider
<
Event
>
blockedEvent
=
const
EventStreamProvider
<
Event
>
('blocked')
const
Static factory designed to expose blocked events to event handlers that are not necessarily instances of
OpenDBRequest
.
EventStreamProvider
<
VersionChangeEvent
>
upgradeNeededEvent
=
const
EventStreamProvider
<
VersionChangeEvent
>
('upgradeneeded')
const
Static factory designed to expose upgradeneeded events to event handlers that are not necessarily instances of
OpenDBRequest
.
Properties
Stream
<
Event
>
onBlocked
read-only
Stream of blocked events handled by this [OpenDBRequest].
Stream
<
VersionChangeEvent
>
onUpgradeNeeded
read-only
Stream of upgradeneeded events handled by this [OpenDBRequest].
Events
on
read-only ,
inherited
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
DomError
error
read-only ,
inherited
String
readyState
read-only ,
inherited
Object
result
read-only ,
inherited
Object
source
read-only ,
inherited
Transaction
transaction
read-only ,
inherited
Stream
<
Event
>
onError
read-only ,
inherited
Stream of error events handled by this [Request].
Stream
<
Event
>
onSuccess
read-only ,
inherited
Stream of success events handled by this [Request].
Methods
addEventListener
(
String
type
,
dynamic
listener
(
Event
event
)
, [
bool
useCapture
]) →
void
inherited
removeEventListener
(
String
type
,
dynamic
listener
(
Event
event
)
, [
bool
useCapture
]) →
void
inherited
dispatchEvent
(
Event
event
) →
bool
inherited