XmlNodeType enum Null safety

Enum of the different XML Node types.

Constants

ATTRIBUTE → const XmlNodeType

An attribute node, e.g. id="123".

const XmlNodeType(0)
CDATA → const XmlNodeType

Raw character data (CDATA), e.g. <![CDATA[escaped text]]>.

const XmlNodeType(1)
COMMENT → const XmlNodeType

A comment, e.g. <!-- comment -->.

const XmlNodeType(2)
DECLARATION → const XmlNodeType

A xml declaration, e.g. <?xml version='1.0'?>.

const XmlNodeType(3)
DOCUMENT → const XmlNodeType

A document object.

const XmlNodeType(5)
DOCUMENT_FRAGMENT → const XmlNodeType

A document fragment, e.g. #document-fragment.

const XmlNodeType(6)
DOCUMENT_TYPE → const XmlNodeType

A document type declaration, e.g. <!DOCTYPE html>.

const XmlNodeType(4)
ELEMENT → const XmlNodeType

An element node, e.g. <item> or <item />.

const XmlNodeType(7)
PROCESSING → const XmlNodeType

A processing instruction, e.g. <?pi test?>.

const XmlNodeType(8)
TEXT → const XmlNodeType

Text content within a node.

const XmlNodeType(9)
values → const List<XmlNodeType>

A constant List of the values in this enum, in order of their declaration.

const List<XmlNodeType>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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