coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case unknown:
      return -1;
    case overlaps:
      return 0;
    case afterStartOverlapsEnd:
      return 1;
    case overlapsStartWithinEnd:
      return 2;
  }
}