getGroup method
Get items for a specific group (e.g., 'city', 'transport').
Implementation
List<PowerMapLayerItem>? getGroup(String groupKey) {
try {
return _catalog.firstWhere((g) => g.key == groupKey).items;
} catch (_) {
return null;
}
}