tokenField_shouldAddObjects_atIndex_ property

ObjCProtocolMethod<NSArray Function(NSTokenField, NSArray, DartNSUInteger)> tokenField_shouldAddObjects_atIndex_
final

tokenField:shouldAddObjects:atIndex:

Implementation

static final tokenField_shouldAddObjects_atIndex_ =
    objc.ObjCProtocolMethod<
      objc.NSArray Function(NSTokenField, objc.NSArray, DartNSUInteger)
    >(
      _protocol_NSTokenFieldDelegate,
      _sel_tokenField_shouldAddObjects_atIndex_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Pointer<objc.ObjCObject> Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
                NSUInteger,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_1mpupby)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTokenFieldDelegate,
        _sel_tokenField_shouldAddObjects_atIndex_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (
        objc.NSArray Function(NSTokenField, objc.NSArray, DartNSUInteger)
        func,
      ) =>
          ObjCBlock_NSArray_ffiVoid_NSTokenField_NSArray_NSUInteger.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSTokenField arg1,
              objc.NSArray arg2,
              DartNSUInteger arg3,
            ) => func(arg1, arg2, arg3),
          ),
    );