call method

void call(
  1. Pointer<Void> arg0,
  2. ObjCObjectBase arg1,
  3. bool arg2
)

Implementation

void call(ffi.Pointer<ffi.Void> arg0, objc.ObjCObjectBase arg1, bool arg2) =>
    ref.pointer.ref.invoke
        .cast<
          ffi.NativeFunction<
            ffi.Void Function(
              ffi.Pointer<objc.ObjCBlockImpl> block,
              ffi.Pointer<ffi.Void> arg0,
              ffi.Pointer<objc.ObjCObject> arg1,
              ffi.Bool arg2,
            )
          >
        >()
        .asFunction<
          void Function(
            ffi.Pointer<objc.ObjCBlockImpl>,
            ffi.Pointer<ffi.Void>,
            ffi.Pointer<objc.ObjCObject>,
            bool,
          )
        >()(ref.pointer, arg0, arg1.ref.pointer, arg2);