toSlotValueSelectionStrategy method

SlotValueSelectionStrategy toSlotValueSelectionStrategy()

Implementation

SlotValueSelectionStrategy toSlotValueSelectionStrategy() {
  switch (this) {
    case 'ORIGINAL_VALUE':
      return SlotValueSelectionStrategy.originalValue;
    case 'TOP_RESOLUTION':
      return SlotValueSelectionStrategy.topResolution;
  }
  throw Exception('$this is not known in enum SlotValueSelectionStrategy');
}