invoke method

R invoke(
  1. A1 arg1,
  2. A2 arg2,
  3. A3 arg3,
  4. A4 arg4,
  5. NativeHandle<P> handle,
)

Invokes this with arg1..arg4 and the unwrapped pointer from handle.

Implementation

R invoke(A1 arg1, A2 arg2, A3 arg3, A4 arg4, NativeHandle<P> handle) =>
    handle.use((ptr) => this(arg1, arg2, arg3, arg4, ptr));