update method

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

Update a ShopFrontModel

Implementation

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