call method

void call(
  1. bool arg0,
  2. Dartdispatch_data_t? arg1,
  3. int arg2
)

Implementation

void call(bool arg0, Dartdispatch_data_t? arg1, int arg2) => ref
    .pointer
    .ref
    .invoke
    .cast<
      ffi.NativeFunction<
        ffi.Void Function(
          ffi.Pointer<objc.ObjCBlockImpl> block,
          ffi.Bool arg0,
          dispatch_data_t arg1,
          ffi.Int arg2,
        )
      >
    >()
    .asFunction<
      void Function(
        ffi.Pointer<objc.ObjCBlockImpl>,
        bool,
        dispatch_data_t,
        int,
      )
    >()(ref.pointer, arg0, arg1?.ref.pointer ?? ffi.nullptr, arg2);