previewPortal method
Creates a portal preview.
May throw AccessDeniedException.
May throw BadRequestException.
May throw ConflictException.
May throw NotFoundException.
May throw TooManyRequestsException.
Parameter portalId :
The portal identifier.
Implementation
Future<void> previewPortal({
required String portalId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'POST',
requestUri: '/v2/portals/${Uri.encodeComponent(portalId)}/preview',
exceptionFnMap: _exceptionFns,
);
}