WebStorageCapabilities constructor

const WebStorageCapabilities({
  1. required bool opfs,
  2. required bool syncAccessHandleInWorker,
  3. required bool syncAccessHandleOnCurrentThread,
  4. required bool createWritable,
  5. required bool fileSystemPickers,
  6. required bool fileSystemObserver,
  7. required bool storageBuckets,
  8. required bool sharedArrayBuffer,
  9. required bool crossOriginIsolated,
  10. required int? quotaBytes,
  11. required int? usageBytes,
  12. required bool persisted,
  13. String? workerError,
})

Creates a capability snapshot.

Implementation

const WebStorageCapabilities({
  required this.opfs,
  required this.syncAccessHandleInWorker,
  required this.syncAccessHandleOnCurrentThread,
  required this.createWritable,
  required this.fileSystemPickers,
  required this.fileSystemObserver,
  required this.storageBuckets,
  required this.sharedArrayBuffer,
  required this.crossOriginIsolated,
  required this.quotaBytes,
  required this.usageBytes,
  required this.persisted,
  this.workerError,
});