loadEvent constant Null safety

EventStreamProvider<Event> const loadEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider loadEvent =
    const EventStreamProvider('load')