Resource.fromXMLNode constructor
Implementation
@override
Resource.fromXMLNode(XMLNode node)
: id = node.attributes.remove('id')!,
name = node.attributes.remove('name')!,
type = node.tag,
src = node.attributes.remove('src')!,
extraAttributes = node.attributes;