XmlTagException.mismatchClosingTag constructor

XmlTagException.mismatchClosingTag(
  1. String expectedName,
  2. String actualName
)

Creates a new XmlTagException where expectedName was expected, but instead we found actualName.

Implementation

factory XmlTagException.mismatchClosingTag(String expectedName, String actualName) =>
    XmlTagException('Expected closing tag </$expectedName>, '
        'but found </$actualName>.');