configure static method

List<EnsembleAction> configure(
  1. View view,
  2. Map<String, API> apis,
  3. YamlMap map
)

Implementation

static List<EnsembleAction> configure(
    View view, Map<String, API> apis, YamlMap map) {
  List<EnsembleAction> actions = [];
  map.forEach((k, v) {
    WidgetView? wv = view.get(k);
    if (wv != null) {
      actions.addAll(WidgetActions.from(view, wv, apis, v));
    }
  });
  return actions;
}