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