toValue method
Implementation
String toValue() {
switch (this) {
case NotifyWorkersFailureCode.softFailure:
return 'SoftFailure';
case NotifyWorkersFailureCode.hardFailure:
return 'HardFailure';
}
}
String toValue() {
switch (this) {
case NotifyWorkersFailureCode.softFailure:
return 'SoftFailure';
case NotifyWorkersFailureCode.hardFailure:
return 'HardFailure';
}
}