update method

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

Implementation

@override
Future<FeedModel> update(FeedModel value) {
  return feedCollection
      .doc(value.documentID)
      .update(value.toEntity(appId: appId).toDocument())
      .then((_) => value);
}