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