class
Comment

Class used for encoding comments as metadata annotations.

Properties

String text
read-only
The comment text as written in the source text.
String trimmedText
read-only
The comment text without the start, end, and padding text.
bool isDocComment
read-only
Is true if this comment is a documentation comment.

Constructors

Comment(String text, String trimmedText, bool isDocComment)
const