toValue method

String toValue()

Implementation

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