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