successEvent constant Null safety

EventStreamProvider<Event> const successEvent

Static factory designed to expose success events to event handlers that are not necessarily instances of Request.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<Event> successEvent =
    const EventStreamProvider<Event>('success')