enableFetch method
Implementation
Future<JavascriptRuntime> enableFetch() async {
debug('Before enable xhr');
enableXhr();
debug('After enable xhr');
final fetchPolyfill = await rootBundle
.loadString('packages/flutter_js_stable/assets/js/fetch.js');
debug('Loaded fetchPolyfill');
final evalFetchResult = evaluate(fetchPolyfill);
debug('Eval Fetch Result: $evalFetchResult');
return this;
}