getNetwork method
Retrieves detailed information about a specific Wickr network, including its configuration, access level, and status.
May throw BadRequestError.
May throw ForbiddenError.
May throw InternalServerError.
May throw RateLimitError.
May throw ResourceNotFoundError.
May throw UnauthorizedError.
May throw ValidationError.
Parameter networkId :
The ID of the Wickr network to retrieve.
Implementation
Future<GetNetworkResponse> getNetwork({
required String networkId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/networks/${Uri.encodeComponent(networkId)}',
exceptionFnMap: _exceptionFns,
);
return GetNetworkResponse.fromJson(response);
}