coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case eitherSide:
      return 0;
    case leftSide:
      return 1;
    case rightSide:
      return 2;
    case noUTurn:
      return 3;
    case unknown:
      return 4;
  }
}