add method
Add a HomeMenuModel to the repository, cached
Implementation
@override
Future<HomeMenuModel> add(HomeMenuModel value) {
return reference.add(value).then((newValue) {
fullCache[value.documentID] = newValue;
return newValue;
});
}