value method

String value()

Implementation

String value() {
  switch (this) {
    case YKNetworkingMethod.get: return 'GET';
    case YKNetworkingMethod.post: return 'POST';
    case YKNetworkingMethod.put: return 'PUT';
    case YKNetworkingMethod.delete: return 'DELETE';
    case YKNetworkingMethod.patch: return 'PATCH';
  }
}