httpMethodFrom function
Implementation
HttpMethod? httpMethodFrom(String? name) {
if (name == null) return null;
return HttpMethod.values.firstWhere((e) => e.method == name);
}
HttpMethod? httpMethodFrom(String? name) {
if (name == null) return null;
return HttpMethod.values.firstWhere((e) => e.method == name);
}