toValue method

String toValue()

Implementation

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