fromMap static method
Implementation
static MenuModel? fromMap(WidgetModel parent, Map<String, String> map) {
MenuModel? model;
try {
model = MenuModel(parent, newId());
model.unmap(map);
} catch (e) {
Log().exception(e, caller: 'menu.Model');
model = null;
}
return model;
}