coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case destination:
      return 0;
    case origin:
      return 1;
    case _unknown:
      return -1;
  }
}