toValue method
Implementation
String toValue() {
switch (this) {
case PreviewStatus.workInProgress:
return 'WORK_IN_PROGRESS';
case PreviewStatus.completed:
return 'COMPLETED';
}
}
String toValue() {
switch (this) {
case PreviewStatus.workInProgress:
return 'WORK_IN_PROGRESS';
case PreviewStatus.completed:
return 'COMPLETED';
}
}