requestExecute method
Implementation
static Future<Page<PathResponse>> requestExecute(
http.Client httpClient, Uri uri) async {
TypeToken type = new TypeToken<Page<PathResponse>>();
ResponseHandler<Page<PathResponse>> responseHandler =
new ResponseHandler<Page<PathResponse>>(type);
return await httpClient.get(uri).then((response) {
return responseHandler.handleResponse(response);
});
}