update method

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

Implementation

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