check method
Implementation
@override
void check(
DcqRegistry registry,
) {
registry.addClassDeclaration((node) {
final withClause = node.withClause;
if (withClause == null) return;
final seen = <String>{};
for (final mixin in withClause.mixinTypes) {
if (!seen.add(mixin.toSource())) {
reportAtNode(mixin);
}
}
});
}