value property

int get value

Implementation

int get value {
  switch (this) {
    case Direction.forWord:
      return 0;
    case Direction.backWord:
      return 1;
  }
}