close method

void close()

Closes the file stream.

Implementation

void close() {
  _raf.closeSync();
  if (_isTemp && _tempPath != null) {
    ioRemoveSync(_tempPath!);
  }
}