orderedSetWithArray static method

NSOrderedSet orderedSetWithArray(
  1. NSArray array
)

orderedSetWithArray:

Implementation

static NSOrderedSet orderedSetWithArray(NSArray array) {
  objc.checkOsVersionInternal(
    'NSOrderedSet.orderedSetWithArray:',
    iOS: (false, (5, 0, 0)),
    macOS: (false, (10, 7, 0)),
  );
  final $ret = _objc_msgSend_1sotr3r(
    _class_NSOrderedSet,
    _sel_orderedSetWithArray_,
    array.ref.pointer,
  );
  return NSOrderedSet.fromPointer($ret, retain: true, release: true);
}