getApplication method
Retrieve information about an application.
May throw ResourceNotFoundException. May throw InternalServerException. May throw BadRequestException.
Parameter applicationId
:
The ID of the application you want to get.
Implementation
Future<Application> getApplication({
required String applicationId,
}) async {
ArgumentError.checkNotNull(applicationId, 'applicationId');
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/applications/${Uri.encodeComponent(applicationId)}',
exceptionFnMap: _exceptionFns,
);
return Application.fromJson(response);
}