EventSource.new constructor - EventSource - dart:html library (original) (raw)

description

EventSource(

  1. String url, {
  2. dynamic withCredentials = false, })

Implementation

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