Comment class

Represents a Comment. See: https://dart.dev/guides/language/language-tour#comments

Inheritance

Constructors

Comment.fromList(List<String> comments)
Comment.fromString(String comment)

Properties

hashCode int
The hash code for this object.
no setterinherited
nodes List<CodeNode>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

codeNodes(Context context) List<CodeNode>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toUnFormattedString(Context context) String
Recursive call to get the unformatted code from all nodes
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

commentPrefix → const String