Node class

Wrapper class for html node.

Constructors

Node(Node node)
factory
Node.root(Object input, {String? rootTag})
factory

Properties

childNum int
no setter
className String
no setter
firstChild Node?
no setter
hashCode int
The hash code for this object.
no setterinherited
hasSiblings bool
no setter
isBlank bool
no setter
isBlock bool
no setter
isCode bool
no setter
isParentFirstChild bool
no setter
isParentLastChild bool
no setter
nextSibling → Node?
no setter
node → Node
no setter
nodeName String
no setter
nodeType int
no setter
outerHTML String
no setter
parentChildIndex int
no setter
parentElName String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
siblingNum int
no setter
textContent String
no setter

Methods

asElement() → Element?
childNodes() Iterable<Node>
getAttribute(String name) String?
getParentAttribute(String name) String?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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