XmlParserException class Null safety

Exception thrown when parsing of an XML document fails.

Inheritance
Implemented types

Constructors

XmlParserException(String message, {String? buffer, int position = 0, int line = 0, int column = 0})
Creates a new XmlParserException.

Properties

buffer String?
The source input which caused the error.
final
column int
The column number where the parser error was detected.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
line int
The line number where the parser error was detected.
final
message String
A message describing the XML error.
final, inherited
offset int?
The offset in source where the error was detected. [...]
read-only, override
position int
The offset in buffer where the error was detected.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
source String?
The actual source input which caused the error. [...]
read-only, override

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