dart / 1 / dart-mirrors / comment / isdoccomment.html

isDocComment property

bool isDocComment
final

Is true if this comment is a documentation comment.

That is, that the comment is either enclosed in /** ... */ or starts with ///.

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-mirrors/Comment/isDocComment.html