httpGetProcess method Null safety
Implementation
Future<http.Response> httpGetProcess(String url, Map<String, dynamic> body)async{
Map<String, dynamic> _nBody = {
'username': username,
...body
};
print(encodeUrl(url, _nBody));
var _res = await http.get(
Uri.parse(encodeUrl(url, _nBody)),
headers: {
'Accept': 'application/json',
'apiKey': apiKey
},
);
return _res;
}