from method
Given a String, will return the correct RadarrCreditType object.
Implementation
RadarrCreditType? from(String? type) {
switch(type) {
case 'crew': return RadarrCreditType.CREW;
case 'cast': return RadarrCreditType.CAST;
default: return null;
}
}