getApplication method

Future<Application> getApplication({
  1. required String applicationId,
})

Retrieves information about an application.

May throw BadRequestException. May throw InternalServerException. May throw ResourceNotFoundException.

Parameter applicationId : The ID of the application you want to get.

Implementation

Future<Application> getApplication({
  required String applicationId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/applications/${Uri.encodeComponent(applicationId)}',
    exceptionFnMap: _exceptionFns,
  );
  return Application.fromJson(response);
}