toValue method

String toValue()

Implementation

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