getDescription function
Implementation
String? getDescription(
Element element,
String? docComment,
) {
final description = getDocumentation(element)?.description;
if (description != null) {
return _escapeDescription(description);
}
return docComment == null ? null : _cleanDocComment(docComment);
}