coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case get:
      return 0;
    case post:
      return 1;
    case multipartPost:
      return 2;
    case rawPost:
      return 3;
    case unknown:
      return -1;
  }
}