closeSync method

void closeSync()

Implementation

void closeSync() {
  if (!_isOpen) {
    return;
  }
  flush();
  _isOpen = false;
  _fileHandle.closeSync();
}