fetch method Null safety
- dynamic input,
- [Map? init]
Implementation
Future fetch(/*RequestInfo*/ input, [Map? init]) {
var init_dict = null;
if (init != null) {
init_dict = convertDartToNative_Dictionary(init);
}
return promiseToFuture(JS("", "#.fetch(#, #)", this, input, init_dict));
}