updateTerm<A extends Expr> method
Implementation
A updateTerm<A extends Expr>(A expr, List<Expr> args) {
final argsPtr = calloc<Z3_ast>(args.length);
try {
for (var i = 0; i < args.length; i++) {
argsPtr[i] = _createAST(args[i]);
}
final result = _z3.update_term(_createAST(expr), args.length, argsPtr);
return _getAST(result) as A;
} finally {
malloc.free(argsPtr);
}
}