toValue method
Implementation
String toValue() {
switch (this) {
case MalwareState.observed:
return 'OBSERVED';
case MalwareState.removalFailed:
return 'REMOVAL_FAILED';
case MalwareState.removed:
return 'REMOVED';
}
}