call method

void call(
  1. Pointer<Void> arg0,
  2. int arg1
)

Implementation

void call(ffi.Pointer<ffi.Void> arg0, int arg1) => _id.ref.invoke
    .cast<
        ffi.NativeFunction<
            ffi.Void Function(ffi.Pointer<_ObjCBlock> block,
                ffi.Pointer<ffi.Void> arg0, ffi.UnsignedLong arg1)>>()
    .asFunction<
        void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<ffi.Void>,
            int)>()(_id, arg0, arg1);