revokeRight method
Implementation
MorpheusOperation revokeRight(String authentication, String right) {
final nativeAuth = authentication.toNativeUtf8();
final nativeRight = right.toNativeUtf8();
try {
final op = DartApi.native.morpheusOperationBuilder
.revokeRight(_ffi, nativeAuth, nativeRight)
.extract((res) => res.asPointer<Void>());
return MorpheusOperation(op, true);
} finally {
calloc.free(nativeRight);
calloc.free(nativeAuth);
}
}