toValue method
Implementation
String toValue() {
switch (this) {
case AssignmentStatus.enabled:
return 'ENABLED';
case AssignmentStatus.draft:
return 'DRAFT';
case AssignmentStatus.disabled:
return 'DISABLED';
}
}
String toValue() {
switch (this) {
case AssignmentStatus.enabled:
return 'ENABLED';
case AssignmentStatus.draft:
return 'DRAFT';
case AssignmentStatus.disabled:
return 'DISABLED';
}
}