database.browser library

Contains various database adapters that use browser APIs.

import 'package:database/browser.dart';

void main() {
  final database = BrowserDatabaseAdapter(),
  // ...
}

Classes

BrowserDatabaseAdapter
A database adapter that stores data using some browser API. The default factory returns an instance of BrowserLocalStorageDatabase. [...]
BrowserLocalStorageDatabase
A database adapter that stores data using Web Storage API (window.localStorage).