MissingBrowserFeature enum

An enumeration of features not supported by the current browsers.

While this information may not be useful to end users, it can be used to understand why drift has chosen a particular storage implementation in WasmDatabaseResult.

Inheritance

Constructors

MissingBrowserFeature()
const

Values

sharedWorkers → const MissingBrowserFeature

The browser is missing support for shared workers.

dedicatedWorkers → const MissingBrowserFeature

The browser is missing support for web workers in general.

dedicatedWorkersInSharedWorkers → const MissingBrowserFeature

The browser doesn't allow shared workers to spawn dedicated workers in their context.

While the specification for web workers explicitly allows this, this feature is only implemented by Firefox at the time of writing.

fileSystemAccess → const MissingBrowserFeature

The browser does not support a synchronous version of the File System API

indexedDb → const MissingBrowserFeature

The browser does not support IndexedDB.

sharedArrayBuffers → const MissingBrowserFeature

The browser does not support shared array buffers and Atomics.wait.

To enable this feature in most browsers, you need to serve your app with two special headers.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<MissingBrowserFeature>
A constant List of the values in this enum, in order of their declaration.