toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PreserveDevices.none:
      return 'NONE';
    case PreserveDevices.preserve:
      return 'PRESERVE';
  }
}