Dart SDK
dart:indexed_db
Request
class
Request
Constants
Properties
Constants
errorEvent
successEvent
Properties
error
readyState
result
source
transaction
onError
onSuccess
on
Methods
addEventListener
removeEventListener
dispatchEvent
(Not documented.)
Annotations
DocsEditable()
DomName('IDBRequest')
Unstable()
Extends
Object
EventTarget
Request
Implemented by
OpenDBRequest
Constants
EventStreamProvider
<
Event
>
errorEvent
=
const
EventStreamProvider
<
Event
>
('error')
const
Static factory designed to expose error events to event handlers that are not necessarily instances of
Request
.
EventStreamProvider
<
Event
>
successEvent
=
const
EventStreamProvider
<
Event
>
('success')
const
Static factory designed to expose success events to event handlers that are not necessarily instances of
Request
.
Properties
DomError
error
read-only
String
readyState
read-only
Object
result
read-only
Object
source
read-only
Transaction
transaction
read-only
Stream
<
Event
>
onError
read-only
Stream of error events handled by this [Request].
Stream
<
Event
>
onSuccess
read-only
Stream of success events handled by this [Request].
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.
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