toFindingStatusUpdate method

FindingStatusUpdate toFindingStatusUpdate()

Implementation

FindingStatusUpdate toFindingStatusUpdate() {
  switch (this) {
    case 'ACTIVE':
      return FindingStatusUpdate.active;
    case 'ARCHIVED':
      return FindingStatusUpdate.archived;
  }
  throw Exception('$this is not known in enum FindingStatusUpdate');
}