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