coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case notLocated:
      return 0;
    case onClosest:
      return 1;
    case onClosestNotRestricted:
      return 2;
    case notReached:
      return 3;
  }
}