parseComplianceCSIDResponse function
Parses a JSON string into a ComplianceCSIDResponse object.
This function is a utility to simplify parsing JSON strings into the ComplianceCSIDResponse model.
Parameters:
statusCode: The HTTP status code of the response.jsonStr: The raw JSON string containing the response data.
Returns a ComplianceCSIDResponse object.
Implementation
ComplianceCSIDResponse parseComplianceCSIDResponse(
int statusCode, String jsonStr) {
return ComplianceCSIDResponse.fromJson(statusCode, jsonDecode(jsonStr));
}