toTargetSelection method

TargetSelection toTargetSelection()

Implementation

TargetSelection toTargetSelection() {
  switch (this) {
    case 'CONTINUOUS':
      return TargetSelection.continuous;
    case 'SNAPSHOT':
      return TargetSelection.snapshot;
  }
  throw Exception('$this is not known in enum TargetSelection');
}