doGet function
dynamic
doGet(})
Implementation
doGet(String urlAfterBase, {Map<String, dynamic>? queries, Map<String, String>? headers}) async {
var uri = Uri.https(base, '/auto/api/$urlAfterBase', queries);
var js = await http.get(uri, headers: headers);
var decoded;
try {
decoded = jsonDecode(js.body);
} catch (e) {
print(e);
}
return decoded;
}