@@ -87,8 +87,7 @@ List<XmlNamespace> _collectAncestorNamespaces(XmlNode node,
8787 for (var attr in parent.attributes) {
8888 final name = attr.name.qualified;
8989 if (name.startsWith (regexp)) {
90- nsArray.add (
91- XmlNamespace (name.replaceFirst (regexp, '' ), attr.value));
90+ nsArray.add (XmlNamespace (name.replaceFirst (regexp, '' ), attr.value));
9291 }
9392 }
9493
@@ -699,8 +698,7 @@ class SignedXml {
699698 if (currentPrefix.isNotEmpty) currentPrefix += ':' ;
700699
701700 if (keyInfoProvider != null ) {
702- final keyInfoAttrs = StringBuffer (),
703- attrs = keyInfoProvider! .attrs;
701+ final keyInfoAttrs = StringBuffer (), attrs = keyInfoProvider! .attrs;
704702 if (attrs != null ) {
705703 for (var entry in attrs.entries) {
706704 keyInfoAttrs.write (' ${entry .key }="${entry .value }"' );
@@ -903,12 +901,14 @@ class FileKeyInfo implements KeyInfoProvider {
903901 @override
904902 String getKeyInfo (Uint8List ? signingKey, String ? prefix) {
905903 var currentPrefix = prefix ?? '' ;
906- currentPrefix = currentPrefix.isNotEmpty ? '$currentPrefix :' : currentPrefix;
904+ currentPrefix =
905+ currentPrefix.isNotEmpty ? '$currentPrefix :' : currentPrefix;
907906 final signingCert = StringBuffer ();
908907 if (signingKey != null ) {
909908 final certArray = [signingKey];
910909 for (var cert in certArray) {
911- signingCert.write ("<${currentPrefix }X509Certificate>${base64Encode (cert )}</${currentPrefix }X509Certificate>" );
910+ signingCert.write (
911+ "<${currentPrefix }X509Certificate>${base64Encode (cert )}</${currentPrefix }X509Certificate>" );
912912 }
913913 }
914914 return '<${currentPrefix }X509Data>${signingCert .toString ()}</${currentPrefix }X509Data>' ;
0 commit comments