Dart API Reference
dart:mirrors
Comment
Comment
class
Class used for encoding comments as metadata annotations.
Class used for encoding comments as metadata annotations.
Constructors
Comment
(
String
text
,
String
trimmedText
,
bool
isDocComment
)
const
Instance Properties
text
String
read-only
The comment text as written in the source text.
trimmedText
String
read-only
The comment text without the start, end, and padding text.
isDocComment
bool
read-only
Is true if this comment is a documentation comment.