getCase method

Future<GetCaseResponse> getCase({
  1. required String caseId,
})

Returns the attributes of a case.

Parameter caseId : Required element for GetCase to identify the requested case ID.

Implementation

Future<GetCaseResponse> getCase({
  required String caseId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/v1/cases/${Uri.encodeComponent(caseId)}/get-case',
    exceptionFnMap: _exceptionFns,
  );
  return GetCaseResponse.fromJson(response);
}