coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case unknown:
      return 0;
    case processing:
      return 1;
    case failed:
      return 2;
    case complete:
      return 3;
  }
}