coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case other:
      return 0;
    case acres:
      return 109402;
    case hectares:
      return 109401;
    case squareCentimeters:
      return 109451;
    case squareDecimeters:
      return 109450;
    case squareFeet:
      return 109405;
    case squareKilometers:
      return 109414;
    case squareMeters:
      return 109404;
    case squareMillimeters:
      return 109452;
    case squareMiles:
      return 109439;
    case squareYards:
      return 109442;
  }
}