toValue method
Implementation
String toValue() {
switch (this) {
case ModelPackageGroupStatus.pending:
return 'Pending';
case ModelPackageGroupStatus.inProgress:
return 'InProgress';
case ModelPackageGroupStatus.completed:
return 'Completed';
case ModelPackageGroupStatus.failed:
return 'Failed';
case ModelPackageGroupStatus.deleting:
return 'Deleting';
case ModelPackageGroupStatus.deleteFailed:
return 'DeleteFailed';
}
}