from method
Given a String, will return the correct SonarrSeriesType object.
Implementation
SonarrSeriesType? from(String? type) {
switch(type) {
case 'standard': return SonarrSeriesType.STANDARD;
case 'daily': return SonarrSeriesType.DAILY;
case 'anime': return SonarrSeriesType.ANIME;
default: return null;
}
}