EventSource constructor

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

Implementation

factory EventSource(
  _i2.Object url, [
  _i3.EventSourceInit? eventSourceInitDict,
]) =>
    _i4.callConstructor(
      _declaredEventSource,
      [
        url,
        eventSourceInitDict ?? _i6.undefined,
      ],
    );