Element class

Properties

attributes Iterable<String>
no setter
hashCode int
The hash code for this object.
no setterinherited
namespaceURI Uri
no setter
removed bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tagName String
getter/setter pair

Methods

after(String text, [ContentOptions? options]) Element
append(String text, [ContentOptions? options]) Element
before(String text, [ContentOptions? options]) Element
getAttribute(String name) String?
hasAttribute(String name) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onEndTag(void callback(EndTag endTag)) → void
prepend(String text, [ContentOptions? options]) Element
remove() Element
removeAndKeepContent() Element
removeAttribute(String name) Element
replace(String text, [ContentOptions? options]) Element
setAttribute(String name, String value) Element
toString() String
A string representation of this object.
inherited

Operators

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