value method

String value()

Implementation

String value() {
  switch (this) {
    case YKNetworkingMethod.get:
      return "GET";
    case YKNetworkingMethod.post:
      return "POST";
    case YKNetworkingMethod.put:
      return "PUT";
    default:
      return "";
  }
}