getEnvironment method
Returns the FinSpace environment object.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter environmentId :
The identifier of the FinSpace environment.
Implementation
Future<GetEnvironmentResponse> getEnvironment({
required String environmentId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/environment/${Uri.encodeComponent(environmentId)}',
exceptionFnMap: _exceptionFns,
);
return GetEnvironmentResponse.fromJson(response);
}