# Node class

Inheritance
  - Object
  - EventTarget
  - Node
Implemented by
  - CharacterData
  - Document
  - DocumentFragment
  - Element
Annotations
  - @Native("Node")

## Properties

baseUri → String
  @JSName('baseURI'), final
childNodes → List<Node>
  A list of this node's children. [...]
  @Creates('NodeList'), @Returns('NodeList'), final
firstChild → Node
  The first child of this node. [...]
  final
isConnected → bool
  final
lastChild → Node
  The last child of this node. [...]
  final
nextNode → Node
  The next sibling node. [...]
  @JSName('nextSibling'), final
nodeName → String
  The name of this node. [...]
  final
nodes ↔ List<Node>
  A modifiable list of this node's children.
  read / write
nodeType → int
  The type of node. [...]
  final
nodeValue → String
  The value of this node. [...]
  final
ownerDocument → Document
  The document this node belongs to. [...]
  final
parent → Element
  The parent element of this node. [...]
  @JSName('parentElement'), final
parentNode → Node
  The parent node of this node. [...]
  final
previousNode → Node
  The previous sibling node. [...]
  @JSName('previousSibling'), final
text ↔ String
  All text within this node and its descendents. [...]
  @JSName('textContent'), read / write
hashCode → int
  The hash code for this object. [...]
  read-only, inherited
on → Events
  This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
  read-only, inherited
runtimeType → Type
  A representation of the runtime type of the object.
  read-only, inherited

## Methods

append(Node node) → Node
  Adds a node to the end of the child nodes list of this node. [...]
  @JSName('appendChild')
clone(bool deep) → Node
  Returns a copy of this node. [...]
  @JSName('cloneNode')
contains(Node other) → bool
  Returns true if this node contains the specified node. [...]
getRootNode([Map options ]) → Node
hasChildNodes() → bool
  Returns true if this node has any children. [...]
insertAllBefore(Iterable<Node> newNodes, Node refChild) → Node
  Inserts all of the nodes into this node directly before refChild. [...]
insertBefore(Node node, Node child) → Node
  Inserts all of the nodes into this node directly before refChild. [...]
remove() → void
  Removes this node from the DOM.
replaceWith(Node otherNode) → Node
  Replaces this node with another node.
toString() → String
  Print out a String representation of this Node.
addEventListener(String type, EventListener listener, [ bool useCapture ]) → void
  inherited
dispatchEvent(Event event) → bool
  inherited
noSuchMethod(Invocation invocation) → dynamic
  Invoked when a non-existent method or property is accessed. [...]
  inherited
removeEventListener(String type, EventListener listener, [ bool useCapture ]) → void
  inherited

## Operators

operator ==(dynamic other) → bool
  The equality operator. [...]
  inherited

## Constants

ATTRIBUTE_NODE → const int
  `2`
CDATA_SECTION_NODE → const int
  `4`
COMMENT_NODE → const int
  `8`
DOCUMENT_FRAGMENT_NODE → const int
  `11`
DOCUMENT_NODE → const int
  `9`
DOCUMENT_TYPE_NODE → const int
  `10`
ELEMENT_NODE → const int
  `1`
ENTITY_NODE → const int
  `6`
ENTITY_REFERENCE_NODE → const int
  `5`
NOTATION_NODE → const int
  `12`
PROCESSING_INSTRUCTION_NODE → const int
  `7`
TEXT_NODE → const int
  `3`