coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case unspecified:
      return 0;
    case light:
      return 1;
    case dark:
      return 2;
  }
}