DriftWebStorage constructor

const DriftWebStorage(
  1. String name
)

Creates the default storage implementation that uses the local storage apis.

The name parameter is used as a key to store the database blob in local storage. It can be used to store multiple databases.

Implementation

const factory DriftWebStorage(String name) = _LocalStorageImpl;