Future<void> persistAll(Map<String, dynamic> map) async { for (final element in map.entries) { await persist(element.key, element.value); } }