buildXml method
void
buildXml(})
override
Implementation
@override
void buildXml(
XmlBuilder builder, {
String tag = 'Security',
String? namespace,
}) =>
builder.element(
'Security',
namespace: namespace,
// namespaces: {Xmlns.s: 's'},
nest: () {
builder.namespace(
'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd');
builder.attribute(
'mustUnderstand',
mustUnderstand,
namespace: Xmlns.s,
);
usernameToken.buildXml(builder);
},
);