from method
Given a String, will return the correct RadarrImportMode object.
Implementation
RadarrImportMode? from(String? type) {
switch(type) {
case 'copy': return RadarrImportMode.COPY;
case 'move': return RadarrImportMode.MOVE;
default: return null;
}
}