updateData method
Updates the document with id
with the provided data
to the collection
Implementation
Future<void> updateData(String id, Map<String, dynamic> data) {
return _db.collection(collection).doc(id).update(data);
}
Updates the document with id
with the provided data
to the collection
Future<void> updateData(String id, Map<String, dynamic> data) {
return _db.collection(collection).doc(id).update(data);
}