void addMapByName(Map<String, V> map) { for (final key in keys) { if (map[key.name] case V value?) this[key] = value; } }