onDone method

Future<void> onDone()
override

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

Future<void> onDone() => close();