toValue method
Implementation
String toValue() {
switch (this) {
case TrainingInputMode.pipe:
return 'Pipe';
case TrainingInputMode.file:
return 'File';
}
}
String toValue() {
switch (this) {
case TrainingInputMode.pipe:
return 'Pipe';
case TrainingInputMode.file:
return 'File';
}
}