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