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