children property

NSArray get children

The menu's sub-elements and sub-menus. On iOS 14.0, elements of your own menus are mutable, -copying a menu will produce mutable elements, and UIKit will take immutable copies of menus it receives. Prior to iOS 14.0, menus are always fully immutable.

Implementation

objc.NSArray get children {
  objc.checkOsVersionInternal('UIMenu.children', iOS: (false, (13, 0, 0)));
  final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_children);
  return objc.NSArray.castFromPointer(_ret, retain: true, release: true);
}