XmlTagException.missingClosingTag constructor

XmlTagException.missingClosingTag(
  1. String expectedName, {
  2. String? buffer,
  3. int? position,
})

Creates a new XmlTagException for a missing closing tag.

Implementation

factory XmlTagException.missingClosingTag(String expectedName,
        {String? buffer, int? position}) =>
    XmlTagException('Missing </$expectedName>',
        expectedName: expectedName, buffer: buffer, position: position);