toValue method
Implementation
String toValue() {
switch (this) {
case TrainingMode.full:
return 'FULL';
case TrainingMode.update:
return 'UPDATE';
}
}
String toValue() {
switch (this) {
case TrainingMode.full:
return 'FULL';
case TrainingMode.update:
return 'UPDATE';
}
}