requestExecute static method
Requests specific uri and returns Page of ClaimableBalanceResponse. This method is helpful for getting the next set of results.
Implementation
static Future<Page<ClaimableBalanceResponse>> requestExecute(
http.Client httpClient, Uri uri) async {
print(uri.toString());
TypeToken<Page<ClaimableBalanceResponse>> type =
new TypeToken<Page<ClaimableBalanceResponse>>();
ResponseHandler<Page<ClaimableBalanceResponse>> responseHandler =
new ResponseHandler<Page<ClaimableBalanceResponse>>(type);
return await httpClient.get(uri, headers: RequestBuilder.headers).then((response) {
return responseHandler.handleResponse(response);
});
}