getDomainName method
Gets a domain name.
May throw NotFoundException. May throw TooManyRequestsException.
Parameter domainName
:
The domain name.
Implementation
Future<GetDomainNameResponse> getDomainName({
required String domainName,
}) async {
ArgumentError.checkNotNull(domainName, 'domainName');
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/v2/domainnames/${Uri.encodeComponent(domainName)}',
exceptionFnMap: _exceptionFns,
);
return GetDomainNameResponse.fromJson(response);
}