close method

Future<void> close()

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
}