createDeclaration method Null safety

  1. @override
XmlDeclaration createDeclaration(
  1. Iterable<XmlNode> attributes
)
override

Implementation

@override
XmlDeclaration createDeclaration(Iterable<XmlNode> attributes) =>
    XmlDeclaration(attributes.cast<XmlAttribute>());