toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ScanDirection.forward:
      return 'FORWARD';
    case ScanDirection.backward:
      return 'BACKWARD';
  }
}