toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CaptureMode.input:
      return 'Input';
    case CaptureMode.output:
      return 'Output';
  }
}