getPriorityForClass method
Implementation
Priority? getPriorityForClass(String className) {
var priority = 50 + 10;
for (final pattern in priorities) {
priority -= 10;
if (RegExp(pattern).hasMatch(className)) {
return Priority(priority);
}
}
return null;
}