eventStream property

Stream<ServerSentEvent<String?>> get eventStream

The server-sent events written from now on, as they arrive; ends when the response is closed.

Implementation

Stream<ServerSentEvent<String?>> get eventStream =>
    chunks.transform(const SseDecoder());