fetch method
- 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("creates:_Response;", "#.fetch(#, #)", this, input, init_dict)); }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-html/Window/fetch.html