abortEvent constant Null safety

EventStreamProvider<ProgressEvent> const abortEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider abortEvent =
    const EventStreamProvider('abort')