toValue method
Implementation
String toValue() {
switch (this) {
case UploadStatus.inProgress:
return 'IN_PROGRESS';
case UploadStatus.succeeded:
return 'SUCCEEDED';
case UploadStatus.failed:
return 'FAILED';
}
}
String toValue() {
switch (this) {
case UploadStatus.inProgress:
return 'IN_PROGRESS';
case UploadStatus.succeeded:
return 'SUCCEEDED';
case UploadStatus.failed:
return 'FAILED';
}
}