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