XmlTagException class Null safety

Exception thrown when the end tag does not match the open tag.

Inheritance

Constructors

XmlTagException(String message)
Creates a new XmlTagException.
XmlTagException.mismatchClosingTag(String expectedName, String actualName)
Creates a new XmlTagException where expectedName was expected, but instead we found actualName.
factory
XmlTagException.missingClosingTag(String name)
Creates a new XmlTagException for a missing closing tag.
factory
XmlTagException.unexpectedClosingTag(String name)
Creates a new XmlTagException for an unexpected closing tag.
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
message String
A message describing the XML error.
final, inherited
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

Static Methods

checkClosingTag(String expected, String actual) → void
Ensure that the expected tag matches the actual one.