visitMixinElement method
Visits a mixin element and extracts its documentation.
Implementation
@override
void visitMixinElement(MixinElement2 element) {
components.add(DocComponent(
name: element.name3!,
filePath: filePath,
isNullSafe: true,
description: _getDescription(element),
constructors: [],
properties: _mapProperties(_collectFieldsWithInheritance(element)),
methods: _mapMethods(_collectMethodsWithInheritance(element)),
type: DocComponentType.mixinType,
annotations: _getAnnotations(element),
interfaces: element.interfaces.map((e) => e.element3.name3!).toList(),
));
super.visitMixinElement(element);
}