getActions method
- {required AppModel appModel}
Returns a list of actions active for the persisted actions map.
Implementation
List<QuickAction> getActions({required AppModel appModel}) {
List<String> actionNames = getActionNames();
List<QuickAction> actions = actionNames
.map((enhancementName) => appModel.quickActions[enhancementName]!)
.toList();
return actions;
}