setDocument method
Implementation
Future<void> setDocument(String collectionPath, String docId, Map<String, dynamic> data) async {
await _db.collection(collectionPath).doc(docId).set(data, SetOptions(merge: true));
}
Future<void> setDocument(String collectionPath, String docId, Map<String, dynamic> data) async {
await _db.collection(collectionPath).doc(docId).set(data, SetOptions(merge: true));
}