toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case StorageType.ssd:
      return 'SSD';
    case StorageType.hdd:
      return 'HDD';
  }
}