asString property
String
get
asString
Implementation
String get asString {
switch (this) {
case HttpMethod.HEAD:
return "HEAD";
case HttpMethod.GET:
return "GET";
case HttpMethod.POST:
return "POST";
case HttpMethod.PUT:
return "PUT";
case HttpMethod.PATCH:
return "PATCH";
case HttpMethod.DELETE:
return "DELETE";
}
}