newItunesType function
Implementation
ItunesType newItunesType(XmlElement element) {
switch (element.text) {
case 'episodic':
return ItunesType.episodic;
case 'serial':
return ItunesType.serial;
default:
return ItunesType.unknown;
}
}