coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case other:
      return 0;
    case degrees:
      return 9102;
    case grads:
      return 9105;
    case minutes:
      return 9103;
    case radians:
      return 9101;
    case seconds:
      return 9104;
  }
}