coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case none:
      return 0;
    case download:
      return 1;
    case upload:
      return 2;
    case bidirectional:
      return 3;
  }
}