void set(String key, String svg) { if (_map.length >= maxEntries && !_map.containsKey(key)) { _map.remove(_map.keys.first); } _map[key] = svg; }