retrieveConsent method
Retrieves the Consent for the given Id.
@param {String} consentId The Id of the consent. @returns {Promise<ClientResponse
Implementation
Future<ClientResponse<ConsentResponse, void>> retrieveConsent(
String consentId) {
return _start<ConsentResponse, void>()
.withUri('/api/consent')
.withUriSegment(consentId)
.withMethod('GET')
.withResponseHandler(
defaultResponseHandlerBuilder((d) => ConsentResponse.fromJson(d)))
.go();
}