I think what you want is WebSQL (which uses SQLite).
- IndexedDB in Dart
WebSQL is a SQLite database in the browser, supported by Webkit based browsers. WebSQL is powerful and fairly well understood, but will not be implemented in Firefox or Internet Explorer, and the spec is in limbo.