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