close method

void close()

Closes the reader and the underlying file resources.

Implementation

void close() {
  if (_isClosed) return;
  _isClosed = true;
  file.closeSync();
}