writeComplete method

Future<void> writeComplete()

Implementation

Future<void> writeComplete() async {
  if (_ioSink != null) {
    // close the writing and start reading
    await _ioSink?.close();
    _ioSink = null;
    _readbufferFile = ReadbufferFile(_filename);
  }
}