closeEvent constant

EventStreamProvider<CloseEvent> const closeEvent = const EventStreamProvider<CloseEvent>('close')

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<CloseEvent> closeEvent =
    const EventStreamProvider<CloseEvent>('close')