toValue method
Implementation
String toValue() {
switch (this) {
case ScanStatus.inProgress:
return 'IN_PROGRESS';
case ScanStatus.complete:
return 'COMPLETE';
case ScanStatus.failed:
return 'FAILED';
}
}
String toValue() {
switch (this) {
case ScanStatus.inProgress:
return 'IN_PROGRESS';
case ScanStatus.complete:
return 'COMPLETE';
case ScanStatus.failed:
return 'FAILED';
}
}