MethodInvocation.fromAddresses constructor
MethodInvocation.fromAddresses(
- int resultAddress,
- int descriptorAddress,
- int argsAddress
)
Implementation
factory MethodInvocation.fromAddresses(
int resultAddress,
int descriptorAddress,
int argsAddress,
) {
return MethodInvocation._(
Pointer<CallbackResult>.fromAddress(resultAddress),
JString.fromReference(
JGlobalReference(Pointer<Void>.fromAddress(descriptorAddress))),
JArray.fromReference(
const JObjectType(),
JGlobalReference(Pointer<Void>.fromAddress(argsAddress)),
),
);
}