class Param {

    private final String name;
    private final @Nullable String value;

    public Param(String name, @Nullable String value) {
        this.name = name;
        this.value = value;
    }

    public static @Nullable List<Param> map2ParamList(Map<String, List<String>> map) {<FILL_FUNCTION_BODY>}

    public String getName() {
        return name;
    }

    public @Nullable String getValue() {
        return value;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + (name == null ? 0 : name.hashCode());
        result = prime * result + (value == null ? 0 : value.hashCode());
        return result;
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null) {
            return false;
        }
        if (!(obj instanceof Param)) {
            return false;
        }
        Param other = (Param) obj;
        if (name == null) {
            if (other.name != null) {
                return false;
            }
        } else if (!name.equals(other.name)) {
            return false;
        }
        if (value == null) {
            return other.value == null;
        } else {
            return value.equals(other.value);
        }
    }
}

        if (map == null) {
            return null;
        }

        List<Param> params = new ArrayList<>(map.size());
        for (Map.Entry<String, List<String>> entries : map.entrySet()) {
            String name = entries.getKey();
            for (String value : entries.getValue()) {
                params.add(new Param(name, value));
            }
        }
        return params;
    
<no_super_class>