static final db = FirebaseFirestore.instance; static Future<Map<String, dynamic>?> read(String collection, String document) async { final snapshot = await db.collection(collection).doc(document).get(); return snapshot.data(); }