string property

String get string

Implementation

String get string {
  switch (this) {
    case HTTPMethod.get:
      return "get";
    case HTTPMethod.post:
      return "post";
    case HTTPMethod.delete:
      return "delete";
    case HTTPMethod.patch:
      return "patch";
    case HTTPMethod.put:
      return "put";
  }
}