XmlTagException.mismatchClosingTag constructor
XmlTagException.mismatchClosingTag(})
Creates a new XmlTagException where expectedName
was expected, but
instead we found actualName
.
Implementation
factory XmlTagException.mismatchClosingTag(
String expectedName, String actualName,
{String? buffer, int? position}) =>
XmlTagException('Expected </$expectedName>, but found </$actualName>',
expectedName: expectedName,
actualName: actualName,
buffer: buffer,
position: position);