readyStateChangeEvent constant Null safety

EventStreamProvider<Event> const readyStateChangeEvent

Static factory designed to expose readystatechange events to event handlers that are not necessarily instances of Document.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider readyStateChangeEvent =
    const EventStreamProvider('readystatechange')