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