coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case default_:
      return 0;
    case relocateEnds:
      return 1;
    case keepEndAttributes:
      return 2;
    case noEndAttributes:
      return 4;
    case doNotExtendFromStartPoint:
      return 8;
    case doNotExtendFromEndPoint:
      return 16;
  }
}