modules/network library
Functions
-
fetchJSON(
String method, Map< String, dynamic> headers, Map<String, dynamic> payload, String reqUrl) → Future<Map< String, dynamic> > - Attempts to retrieve a response of the supplied type and with the other supplied parameters. If this succeeds, the response is returned as a map. If this fails, an error is returned as a map.