menuWithTitle static method
! @abstract Creates a UIMenu with the given arguments.
@param title The menu's title. @param children The menu's action-based sub-elements and sub-menus.
@return A new UIMenu.
Implementation
static UIMenu menuWithTitle(objc.NSString title, {required objc.NSArray children}) {
final _ret = _objc_msgSend_15qeuct(
_class_UIMenu,
_sel_menuWithTitle_children_,
title.ref.pointer,
children.ref.pointer,
);
return UIMenu.castFromPointer(_ret, retain: true, release: true);
}