closeEvent constant Null safety

EventStreamProvider<Event> const closeEvent

Static factory designed to expose close events to event handlers that are not necessarily instances of Notification.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider closeEvent =
    const EventStreamProvider('close')