mapActions method
Implementation
List<ActionModel>? mapActions(List<dynamic>? actionList) {
if (actionList == null) {
return null;
}
return List.from(actionList
.map((actionMap) => actionFromMap(Map<String, Object>.from(actionMap)))
.where((element) => element != null)
.toList());
}