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