StatelessFileSharingUrlSource.fromXml constructor
- XMLNode element
Implementation
factory StatelessFileSharingUrlSource.fromXml(XMLNode element) {
assert(
element.attributes['xmlns'] == urlDataXmlns,
'Element has the wrong xmlns',
);
return StatelessFileSharingUrlSource(
element.attributes['target']! as String,
);
}