toValue method

String toValue()

Implementation

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