EventSource constructor

EventSource(
  1. String url, [
  2. EventSourceInit? eventSourceInitDict
])

Implementation

factory EventSource(String url, [EventSourceInit? eventSourceInitDict]) =>
    EventSource._(url, eventSourceInitDict ?? undefined);