actionsFromMap function

List<Action> actionsFromMap(
  1. List actions
)

Implementation

List<Action> actionsFromMap(List<dynamic> actions) {
  List<Action> actionList = [];
  for (final action in actions) {
    Action? parsedAction = actionFromMap(action);
    if (parsedAction != null) {
      actionList.add(parsedAction);
    }
  }
  return actionList;
}