coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case inProgress:
      return 0;
    case completed:
      return 1;
  }
}