fetch method

Future<Response> fetch(
  1. dynamic input, [
  2. RequestInit? init
])

Implementation

Future<Response> fetch(dynamic input, [RequestInit? init]) =>
    js_util.promiseToFuture(js_util.callMethod(this, 'fetch', [input, init]));