Inheritance
Implemented by
Annotations
  • @DocsEditable()
  • @DomName('IDBRequest')
  • @Unstable()
  • @Native("IDBRequest")

Properties

error DomException
@DocsEditable(), @DomName('IDBRequest.error'), final
onError Stream<Event>
Stream of error events handled by this Request.
@DocsEditable(), @DomName('IDBRequest.onerror'), read-only
onSuccess Stream<Event>
Stream of success events handled by this Request.
@DocsEditable(), @DomName('IDBRequest.onsuccess'), read-only
readyState String
@DocsEditable(), @DomName('IDBRequest.readyState'), final
result → dynamic
@DocsEditable(), @DomName('IDBRequest.result'), read-only
source Object
@Creates('Null'), @DocsEditable(), @DomName('IDBRequest.source'), final
transaction Transaction
@DocsEditable(), @DomName('IDBRequest.transaction'), final
hashCode int
read-only, inherited
on Events
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
read-only, inherited
runtimeType Type
read-only, inherited

Methods

addEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
dispatchEvent(Event event) bool
@DocsEditable(), @DomName('EventTarget.dispatchEvent'), inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
removeEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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

Constants

errorEvent EventStreamProvider<Event>
Static factory designed to expose error events to event handlers that are not necessarily instances of Request. [...]
@DocsEditable(), @DomName('IDBRequest.errorEvent')
const EventStreamProvider<Event>('error')
successEvent EventStreamProvider<Event>
Static factory designed to expose success events to event handlers that are not necessarily instances of Request. [...]
@DocsEditable(), @DomName('IDBRequest.successEvent')
const EventStreamProvider<Event>('success')