protectedViolations function
Implementation
List<String> protectedViolations({
required Map<String, String> before,
required Map<String, String> after,
}) {
final paths = {...before.keys, ...after.keys};
return paths.where((path) => before[path] != after[path]).toList()..sort();
}