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