toValue method
Implementation
String toValue() {
switch (this) {
case DetectorStatus.enabled:
return 'ENABLED';
case DetectorStatus.disabled:
return 'DISABLED';
}
}
String toValue() {
switch (this) {
case DetectorStatus.enabled:
return 'ENABLED';
case DetectorStatus.disabled:
return 'DISABLED';
}
}