coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case active:
      return 1;
    case notVisible:
      return 2;
    case outOfScale:
      return 4;
    case loading:
      return 8;
    case error:
      return 16;
    case warning:
      return 32;
  }
}