dbSetDocumentInTable function
Implementation
dbSetDocumentInTable(String tableName, String document, Map<String, dynamic> _data) async{
// if (Platform.isWindows){
// await dbSetDocumentInTableFirebaseRestApi(tableName, document, _data);
// return;
// }
await FirebaseFirestore.instance.collection(tableName).doc(document)
.set(_data, SetOptions(merge:true));
}