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