dispose abstract method
Clean up resources - Closes the streams.
This method should be called when a RxStorage is no longer needed. But in a real application, this method is rarely called.
Once dispose
is called:
- All streams will not emit changed value when value changed.
- All pending writing tasks will be discarded.
Implementation
Future<void> dispose();