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