coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case invalid:
      return 0;
    case expired:
      return 1;
    case loginRequired:
      return 2;
    case valid:
      return 3;
  }
}