MenuEntry<P> constructor
MenuEntry<P> (})
Implementation
MenuEntry(dynamic name,
{dynamic icon,
dynamic title,
Iterable<MenuItem>? subMenu,
this.action,
this.payload}) {
this.icon = icon;
this.name = name;
this.title = title;
if (subMenu != null) {
this.subMenu = subMenu.toList();
}
}