XmlComment class Null safety

A XML comment, delimited with <!-- and -->.

See: https://www.w3.org/TR/xml/#sec-comments

Inheritance
Annotations

Constructors

XmlComment(String value)
A XML comment, delimited with <!-- and -->. [...]
const

Properties

hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value String
The contents of the comment.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toFormattedString({int nestingLevel = 0, String indent = '\t'}) String
Returns this node as a formatted string. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object o) bool
The equality operator. [...]
override

Static Methods

from(String string, {bool trimWhitespace = true}) XmlComment?
Parses a string for a XML comment. [...]
override
parseString(String string, {bool parseCharacterEntities = true, bool trimWhitespace = true, int start = 0, int? stop}) List<XmlComment>?
Parses a string and returns all found XML comments in a list. [...]
override