SseEvent class final

A single parsed SSE event.

Constructors

SseEvent({required String data, String? event, String? id})
const

Properties

data → String
The concatenated data: payload lines (joined with \n).
final
event → String?
Optional event: field, null when absent.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
Optional id: field, null when absent.
final
isDoneSentinel → bool
True when this event is the OpenAI [DONE] sentinel.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited