indexPathForItem static method

NSIndexPath indexPathForItem(
  1. DartNSInteger item, {
  2. required DartNSInteger inSection,
})

indexPathForItem:inSection:

Implementation

static NSIndexPath indexPathForItem(
  DartNSInteger item, {
  required DartNSInteger inSection,
}) {
  objc.checkOsVersionInternal(
    'NSIndexPath.indexPathForItem:inSection:',
    iOS: (true, null),
    macOS: (false, (10, 11, 0)),
  );
  final _ret = _objc_msgSend_1nzyvs1(
    _class_NSIndexPath,
    _sel_indexPathForItem_inSection_,
    item,
    inSection,
  );
  return NSIndexPath.castFromPointer(_ret, retain: true, release: true);
}