List<num> getOutputs() { var outputValues = <num>[]; for (var o in outputs) { outputValues.add(o.output); } return outputValues; }