addEntity method
Implementation
@override
Future<FollowingEntity> addEntity(String documentID, FollowingEntity value) {
return followingCollection
.doc(documentID)
.set(value.toDocument())
.then((_) => value);
}
@override
Future<FollowingEntity> addEntity(String documentID, FollowingEntity value) {
return followingCollection
.doc(documentID)
.set(value.toDocument())
.then((_) => value);
}