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