Request class

Annotations
  • DocsEditable()
  • DomName('IDBRequest')
  • Unstable()
Extends
Implemented by

Constants

errorEvent = const EventStreamProvider<Event>('error')
Static factory designed to expose error events to event handlers that are not necessarily instances of Request.
successEvent = const EventStreamProvider<Event>('success')
Static factory designed to expose success events to event handlers that are not necessarily instances of Request.

Instance Properties

error DomError
read-only
readyState String
read-only
result Object
read-only
source Object
read-only
transaction Transaction
read-only
onError Stream<Event>
read-only
onSuccess Stream<Event>
read-only
on Events Inherited
read-only

Instance 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