# StatelessFileSharingUrlSource.fromXml constructor

StatelessFileSharingUrlSource.fromXml(

1. 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,
      );
    }