call method

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

Implementation

NSTokenStyle call(
  ffi.Pointer<ffi.Void> arg0,
  NSTokenFieldCell arg1,
  objc.ObjCObjectBase arg2,
) => NSTokenStyle.fromValue(
  ref.pointer.ref.invoke
      .cast<
        ffi.NativeFunction<
          NSUInteger Function(
            ffi.Pointer<objc.ObjCBlockImpl> block,
            ffi.Pointer<ffi.Void> arg0,
            ffi.Pointer<objc.ObjCObject> arg1,
            ffi.Pointer<objc.ObjCObject> arg2,
          )
        >
      >()
      .asFunction<
        int Function(
          ffi.Pointer<objc.ObjCBlockImpl>,
          ffi.Pointer<ffi.Void>,
          ffi.Pointer<objc.ObjCObject>,
          ffi.Pointer<objc.ObjCObject>,
        )
      >()(ref.pointer, arg0, arg1.ref.pointer, arg2.ref.pointer),
);