getRequest method
Implementation
Future<dynamic> getRequest(BuildContext context, String url) async {
return _netUtil.get(url).then((dynamic res) {
return _decoder.convert(res.toString());
});
}
Future<dynamic> getRequest(BuildContext context, String url) async {
return _netUtil.get(url).then((dynamic res) {
return _decoder.convert(res.toString());
});
}