close method

  1. @override
Future<void> close()
override

Asynchronously closes the input stream.

Implementation

@override
Future<void> close() async {
  await _file.close();
  _position = 0;
  _fileSize = 0;
}