releaseArtifact method
Implementation
void releaseArtifact({required int sessionId, required int artifactId}) {
_validateId(sessionId, 'session id');
_validateId(artifactId, 'artifact id');
final errorOut = calloc<_RitoOwnedBuffer>();
try {
final status = _release(sessionId, artifactId, errorOut);
if (status != 0) {
throw _nativeError(status, errorOut);
}
} finally {
_bufferFree(errorOut);
calloc.free(errorOut);
}
}