EventSource constructor

EventSource(
  1. String url,
  2. {dynamic withCredentials: false}
)

Implementation

factory EventSource(String url, {withCredentials: false}) {
  var parsedOptions = {
    'withCredentials': withCredentials,
  };
  return EventSource._factoryEventSource(url, parsedOptions);
}