describeContact method
Describes an existing contact.
May throw InvalidParameterException. May throw DependencyException. May throw ResourceNotFoundException.
Parameter contactId
:
UUID of a contact.
Implementation
Future<DescribeContactResponse> describeContact({
required String contactId,
}) async {
ArgumentError.checkNotNull(contactId, 'contactId');
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/contact/${Uri.encodeComponent(contactId)}',
exceptionFnMap: _exceptionFns,
);
return DescribeContactResponse.fromJson(response);
}