parse static method
Implementation
static RssPodcastIndexValueRecipient? parse(XmlElement? element) {
if (element == null) {
return null;
}
return RssPodcastIndexValueRecipient(
name: element.getAttribute('name'),
customKey: element.getAttribute('customKey'),
type: element.getAttribute('type'),
address: element.getAttribute('address'),
split: int.parse(element.getAttribute('split') ?? '0'),
customValue: element.getAttribute('customValue'),
fee: (element.getAttribute('fee') ?? 'false') == 'true',
);
}