update method

  1. @override
Future<CartModel> update(
  1. CartModel value
)
override

Update a CartModel

Implementation

@override
Future<CartModel> update(CartModel value) {
  return reference.update(value).then((newValue) {
    fullCache[value.documentID] = newValue;
    return newValue;
  });
}