Dart API Reference
dart:indexed_db
Transaction
Transaction
class
Annotations
DomName('IDBTransaction')
Unstable()
Extends
Object
EventTarget
Transaction
Constants
abortEvent
=
const
EventStreamProvider
<
Event
>
('abort')
Static factory designed to expose abort events to event handlers that are not necessarily instances of
Transaction
.
completeEvent
=
const
EventStreamProvider
<
Event
>
('complete')
Static factory designed to expose complete events to event handlers that are not necessarily instances of
Transaction
.
errorEvent
=
const
EventStreamProvider
<
Event
>
('error')
Static factory designed to expose error events to event handlers that are not necessarily instances of
Transaction
.
Instance Properties
completed
Future
<
Database
>
read-only
db
Database
read-only
error
DomError
read-only
mode
String
read-only
onAbort
Stream
<
Event
>
read-only
onComplete
Stream
<
Event
>
read-only
onError
Stream
<
Event
>
read-only
on
Events
Inherited
read-only
Instance Methods
abort
(
) →
void
objectStore
(
String
name
) →
ObjectStore
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