Dart Documentationjsonp_request

jsonp_request library

Functions

Future<Map> jsonpRequest(String url, [String callbackParam = "callback"]) #

Executes a JSONP request.

Returns a Future with the result of the request.

The callback attribute is automatically added. By default, the name of the callback attribute is "callback". Another name can be specified via the callbackParam parameter.

Future<Map> jsonpRequest(String url, [String callbackParam = "callback"]) {
 return new _JsonpRequest()._get(url, callbackParam);
}