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