runNamed method

List<double> runNamed(
  1. Map<String, List<double>> values
)

The value, given each input's components by name in coherent units.

Implementation

List<double> runNamed(Map<String, List<double>> values) => run(<List<double>>[
  for (final input in inputs)
    values[input.name] ??
        (throw ArgumentError('no value for "${input.name}"')),
]);