updateEntity method
Implementation
@override
Future<ProductEntity> updateEntity(String documentID, ProductEntity value) {
return productCollection
.doc(documentID)
.update(value.toDocument())
.then((_) => value);
}
@override
Future<ProductEntity> updateEntity(String documentID, ProductEntity value) {
return productCollection
.doc(documentID)
.update(value.toDocument())
.then((_) => value);
}