getGroupForClass method
Implementation
Group? getGroupForClass(String className) {
for (final group in groups.entries) {
for (final pattern in group.value) {
if (RegExp(pattern).hasMatch(className)) {
return Group(
name: group.key,
priority: getPriorityForGroup(group.key)!,
);
}
}
}
return null;
}