method property
String
method
Implementation
String get method {
switch (httpMethod) {
case HttpMethod.get:
return 'get';
case HttpMethod.post:
return 'post';
default:
return "get";
}
}