XmlTagException.unexpectedClosingTag constructor

XmlTagException.unexpectedClosingTag(
  1. String actualName, {
  2. String? buffer,
  3. int? position,
})

Creates a new XmlTagException for an unexpected closing tag.

Implementation

factory XmlTagException.unexpectedClosingTag(String actualName,
        {String? buffer, int? position}) =>
    XmlTagException('Unexpected </$actualName>',
        actualName: actualName, buffer: buffer, position: position);