update method
Implementation
@override
Future<DrawerModel> update(DrawerModel value) {
return drawerCollection
.doc(value.documentID)
.update(value.toEntity(appId: appId).toDocument())
.then((_) => value);
}
@override
Future<DrawerModel> update(DrawerModel value) {
return drawerCollection
.doc(value.documentID)
.update(value.toEntity(appId: appId).toDocument())
.then((_) => value);
}