onEvent method Null safety
- String streamId
override
Returns the stream for a given stream id.
This is not a part of the spec, but is needed for both the client and server to get access to the real event streams.
Implementation
@override
Stream<Event> onEvent(String streamId) =>
_getEventController(streamId).stream;