timeoutEvent constant Null safety

EventStreamProvider<ProgressEvent> const timeoutEvent

Static factory designed to expose timeout events to event handlers that are not necessarily instances of HttpRequestEventTarget.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider timeoutEvent =
    const EventStreamProvider('timeout')