transactionURI method
- Uri uri
Requests specific uri
and returns TransactionResponse.
This method is helpful for getting the links.
Implementation
Future<TransactionResponse> transactionURI(Uri uri) async {
TypeToken type = new TypeToken<TransactionResponse>();
ResponseHandler<TransactionResponse> responseHandler =
new ResponseHandler<TransactionResponse>(type);
return await httpClient.get(uri).then((response) {
return responseHandler.handleResponse(response);
});
}