coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case stopped:
      return 0;
    case starting:
      return 1;
    case started:
      return 2;
    case stopping:
      return 3;
    case failedToStart:
      return 4;
  }
}