resetEvent constant Null safety

EventStreamProvider<Event> const resetEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider resetEvent =
    const EventStreamProvider('reset')