groups property
The components of each known group, in webLicenseGroups order, empty groups left out.
Implementation
List<(String, List<WebLicenseComponent>)> get groups =>
<(String, List<WebLicenseComponent>)>[
for (final group in webLicenseGroups)
if (components.any((component) => component.group == group))
(
group,
components
.where((component) => component.group == group)
.toList(),
),
];