comboBoxCell_indexOfItemWithStringValue_ property

ObjCProtocolMethod<DartNSUInteger Function(NSComboBoxCell, NSString)> comboBoxCell_indexOfItemWithStringValue_
final

comboBoxCell:indexOfItemWithStringValue:

Implementation

static final comboBoxCell_indexOfItemWithStringValue_ =
    objc.ObjCProtocolMethod<
      DartNSUInteger Function(NSComboBoxCell, objc.NSString)
    >(
      _protocol_NSComboBoxCellDataSource,
      _sel_comboBoxCell_indexOfItemWithStringValue_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              NSUInteger Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_1xrqj4g)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSComboBoxCellDataSource,
        _sel_comboBoxCell_indexOfItemWithStringValue_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (DartNSUInteger Function(NSComboBoxCell, objc.NSString) func) =>
          ObjCBlock_NSUInteger_ffiVoid_NSComboBoxCell_NSString.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSComboBoxCell arg1,
              objc.NSString arg2,
            ) => func(arg1, arg2),
          ),
    );