UserOperation.renew constructor
Implementation
factory UserOperation.renew(String domainName, int expiresAtHeight) {
final nativeDomainName = domainName.toNativeUtf8();
try {
final op = DartApi.native.coeusUserOperation
.opRenew(nativeDomainName, expiresAtHeight)
.extract((res) => res.asPointer<Void>());
return UserOperation(op, true);
} finally {
calloc.free(nativeDomainName);
}
}