coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case off:
      return 0;
    case recenter:
      return 1;
    case navigation:
      return 2;
    case compassNavigation:
      return 3;
  }
}