toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case FindingStatus.active:
      return 'ACTIVE';
    case FindingStatus.archived:
      return 'ARCHIVED';
    case FindingStatus.resolved:
      return 'RESOLVED';
  }
}