WasmVfs constructor

WasmVfs({
  1. Random? random,
  2. required WorkerOptions workerOptions,
  3. String chroot = '/',
  4. String vfsName = 'dart-sqlite3-vfs',
})

Implementation

WasmVfs({
  super.random,
  required WorkerOptions workerOptions,
  this.chroot = '/',
  String vfsName = 'dart-sqlite3-vfs',
})  : synchronizer =
          RequestResponseSynchronizer(workerOptions.synchronizationBuffer),
      serializer = MessageSerializer(workerOptions.communicationBuffer),
      pathContext = p.Context(style: p.Style.url, current: chroot),
      super(name: vfsName);