setDocumentExpiration abstract method
Sets an expiration
date for a Document by its id
.
After the given date the document will be purged from the database
This is more drastic than deletion: It removes all traces of the document. The purge will not be replicated to other databases.
Implementation
@override
Future<void> setDocumentExpiration(String id, DateTime? expiration);