coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case geographic:
      return 0;
    case bottomLeft:
      return 1;
    case bottomRight:
      return 2;
    case topLeft:
      return 3;
    case topRight:
      return 4;
    case center:
      return 5;
    case allSides:
      return 6;
  }
}