close method
Disposes every document and forgets it.
Nothing is written: this registry has nowhere to write to, and says so.
Implementation
@override
Future<void> close() async {
for (final document in _documents.values) {
document.dispose();
}
await clear();
}