MultimediaInfo.fromXmlElement constructor
MultimediaInfo.fromXmlElement(
- XmlElement data
Implementation
factory MultimediaInfo.fromXmlElement(XmlElement data) {
final lable = data.getElement(ApiXmlElement.lable.name)!.innerText.trim();
final type = data.getElement(ApiXmlElement.type.name)!.innerText.trim();
final link = data.getElement(ApiXmlElement.link.name)!.innerText.trim();
return MultimediaInfo(
lable: lable,
type: type,
link: link,
);
}