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