WebStorageCapabilities constructor
const
WebStorageCapabilities({
- required bool opfs,
- required bool syncAccessHandleInWorker,
- required bool syncAccessHandleOnCurrentThread,
- required bool createWritable,
- required bool fileSystemPickers,
- required bool fileSystemObserver,
- required bool storageBuckets,
- required bool crossOriginIsolated,
- required int? quotaBytes,
- required int? usageBytes,
- required bool persisted,
- 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,
});