close method

Future<void> close()

Implementation

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