XmlAttribute class
An attribute of a XML element.
- Annotations
-
- @immutable
Constructors
- XmlAttribute(String name, String value)
-
An attribute of a XML element.
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
{bool doubleQuotes = true, bool encodeCharacterEntities = true, String encodeCharacters = '&<>"\''}) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object o) → bool -
The equality operator.
override
Static Methods
-
from(
String string, {bool parseCharacterEntities = true}) → XmlAttribute? -
Returns the first attribute found in
string
.string
must not benull
. -
parseString(
String string, {bool parseCharacterEntities = true, bool trimWhitespace = true, int start = 0, int? stop}) → List< XmlAttribute> ? -
Returns a list of every attribute found in
string
.string
must not benull
.