void clearMetadata(String section, [String? key]) { if (key == null) { _map.remove(section); } else { _map[section]?.remove(key); } }