loadEvent constant Null safety

EventStreamProvider<Event> const loadEvent

Static factory designed to expose load events to event handlers that are not necessarily instances of Element.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<Event> loadEvent =
    const EventStreamProvider<Event>('load')