toValue method
Implementation
String toValue() {
switch (this) {
case TaskDefinitionStatus.active:
return 'ACTIVE';
case TaskDefinitionStatus.inactive:
return 'INACTIVE';
}
}
String toValue() {
switch (this) {
case TaskDefinitionStatus.active:
return 'ACTIVE';
case TaskDefinitionStatus.inactive:
return 'INACTIVE';
}
}