SseEvent constructor

SseEvent({
  1. String? id,
  2. String? event,
  3. required String data,
  4. int? retry,
})

Creates a new SseEvent. id The event ID. event The event type. data The event data. retry The retry time in milliseconds (optional).

Implementation

SseEvent({this.id, this.event, required this.data, this.retry});