from method
Given a String, will return the correct RadarrHealthCheckType object.
Implementation
RadarrHealthCheckType? from(String? type) {
switch(type) {
case 'notice': return RadarrHealthCheckType.NOTICE;
case 'warning': return RadarrHealthCheckType.WARNING;
case 'error': return RadarrHealthCheckType.ERROR;
default: return null;
}
}