SseEvent class
Payload for a single Server-Sent Event.
await writer.writeSSE(SseEvent(
event: 'update',
data: jsonEncode({'count': 42}),
id: '1',
));
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited