hasDocumentationComment property

bool hasDocumentationComment
override

True if this has a synthetic/inherited or local documentation comment. False otherwise.

Implementation

@override
bool get hasDocumentationComment =>
    _getterSetterDocumentationComment.isNotEmpty ||
    element.documentationComment != null;