EventSource constructor

EventSource(
  1. String url, {
  2. bool? withCredentials = false,
})

Implementation

factory EventSource(String url, {bool? withCredentials = false}) {
  return _EventSource(url, withCredentials: withCredentials);
}