close method
Deletes the cached value and closes the resource. After that, it cannot be used.
Implementation
Future<void> close() async {
await _clearCache();
_subject.close(); // TODO: Maybe leave not closed? Need tests
}
Deletes the cached value and closes the resource. After that, it cannot be used.
Future<void> close() async {
await _clearCache();
_subject.close(); // TODO: Maybe leave not closed? Need tests
}