toPreserveDevices method

PreserveDevices toPreserveDevices()

Implementation

PreserveDevices toPreserveDevices() {
  switch (this) {
    case 'NONE':
      return PreserveDevices.none;
    case 'PRESERVE':
      return PreserveDevices.preserve;
  }
  throw Exception('$this is not known in enum PreserveDevices');
}