toValue method
Implementation
String toValue() {
switch (this) {
case SoftwareToUpdate.core:
return 'core';
case SoftwareToUpdate.otaAgent:
return 'ota_agent';
}
}
String toValue() {
switch (this) {
case SoftwareToUpdate.core:
return 'core';
case SoftwareToUpdate.otaAgent:
return 'ota_agent';
}
}