setWithCredentials method
Whether the XMLHttpRequest uses credentials such as cookies, authorization headers or TLS client certificates. See XMLHttpRequest.withCredentials.
Note that this has no effect if you are loading files locally or from the same domain.
Implementation
Loader setWithCredentials(bool value) {
withCredentials = value;
return this;
}