jobs property
Clients × platforms, keeping the requested order.
Implementation
List<BuildJob> get jobs => [
for (final client in clients)
for (final platform in targets.map((t) => t.platform).toSet())
BuildJob(
client: client,
platform: platform,
targets: targets.where((t) => t.platform == platform).toList(),
),
];