toXmlAttributes method
Returns a list of the XML attributes of this.
Implementation
@override
List<XmlAttribute> toXmlAttributes({
Map<String, String?> namespaces = const {},
}) {
final attributes = _$AttachedFileToXmlAttributes(
this,
namespaces: namespaces,
);
if (customAttributes != null) {
attributes.addAll(customAttributes!);
}
return attributes;
}