Convenience function for inserting a submenu menu item into this.
Combine MenuItem.submenu and insert_item for a more flexible alternative.
this |
a Menu |
position |
the position at which to insert the item |
label |
the section label, or null |
submenu |
a MenuModel with the items of the submenu |