candidateListTouchBarItem$1 method

void candidateListTouchBarItem$1(
  1. NSCandidateListTouchBarItem anItem, {
  2. required DartNSInteger beginSelectingCandidateAtIndex,
})

candidateListTouchBarItem:beginSelectingCandidateAtIndex:

Implementation

void candidateListTouchBarItem$1(
  NSCandidateListTouchBarItem anItem, {
  required DartNSInteger beginSelectingCandidateAtIndex,
}) {
  objc.checkOsVersionInternal(
    'NSTextView.candidateListTouchBarItem:beginSelectingCandidateAtIndex:',
    iOS: (true, null),
    macOS: (false, (10, 12, 2)),
  );
  if (!objc.respondsToSelector(
    this.ref.pointer,
    _sel_candidateListTouchBarItem_beginSelectingCandidateAtIndex_,
  )) {
    throw objc.UnimplementedOptionalMethodException(
      'NSTextView',
      'candidateListTouchBarItem:beginSelectingCandidateAtIndex:',
    );
  }
  _objc_msgSend_1nvl641(
    this.ref.pointer,
    _sel_candidateListTouchBarItem_beginSelectingCandidateAtIndex_,
    anItem.ref.pointer,
    beginSelectingCandidateAtIndex,
  );
}