- Experimental()
Makes a cross-origin request to the specified URL.
This API provides a subset of request which works on IE9. If IE9 cross-origin support is not required then request should be used instead.
Source
@Experimental() static Future<String> requestCrossOrigin(String url, {String method, String sendData}) { if (supportsCrossOrigin) { return request(url, method: method, sendData: sendData).then((xhr) { return xhr.responseText; }); } }