coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case none:
      return 0;
    case fastest:
      return 1;
    case fast:
      return 2;
    case normal:
      return 3;
    case best:
      return 4;
  }
}