SseStreamInfo constructor

SseStreamInfo({
  1. required StreamController<String> controller,
  2. required HttpResponse response,
})

Implementation

SseStreamInfo({
  required this.controller,
  required this.response,
}) : createdAt = DateTime.now();