createApp method
Future<CreateAppResponse>
createApp({
- required CreateApplicationRequest createApplicationRequest,
Creates an application.
May throw BadRequestException.
May throw ForbiddenException.
May throw InternalServerErrorException.
May throw MethodNotAllowedException.
May throw NotFoundException.
May throw PayloadTooLargeException.
May throw TooManyRequestsException.
Implementation
Future<CreateAppResponse> createApp({
required CreateApplicationRequest createApplicationRequest,
}) async {
final response = await _protocol.sendRaw(
payload: createApplicationRequest,
method: 'POST',
requestUri: '/v1/apps',
exceptionFnMap: _exceptionFns,
);
final $json = await _s.jsonFromResponse(response);
return CreateAppResponse(
applicationResponse: ApplicationResponse.fromJson($json),
);
}