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