onDone method
When the data stream closes, the onDone handler is called. Default implementation is a no-op function. If another behavior is wanted, implementations of this abstract data manager should handle closing of the data stream.
Implementation
@override
Future<void> onDone() async => await close();