get method
Implementation
Future<dynamic> get() async {
Show.request("GET", uri.toString());
try {
var response = await client.getUri(uri);
var request = await response.data;
var body = await request;
// Show.anything(body);
return body;
} on DioException catch (e) {
print(e.response?.data);
return e.response?.data;
} on Exception catch (e) {
print(e);
return e;
}
}