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(object$.ref.pointer, _sel_children);
return objc.NSArray.fromPointer($ret, retain: true, release: true);
}