method property
String
get
method
Implementation
String get method {
switch (this) {
case HttpMethod.GET:
return "GET";
case HttpMethod.POST:
return "POST";
}
}
String get method {
switch (this) {
case HttpMethod.GET:
return "GET";
case HttpMethod.POST:
return "POST";
}
}