getMapKey method
Implementation
String getMapKey(String path, bool ignoreQuery, HttpMethod? method) {
final uri = Uri.parse(path);
final pathKey = ignoreQuery ? uri.path : '${uri.path}?${uri.query}';
return method != null ? '${method.name.toUpperCase()}:$pathKey' : pathKey;
}