database_adapter_firestore_browser 0.2.0

Dart js
Flutter web

An adapter for connecting 'package:database' to Google Cloud Firestore. Works only in browsers.

Overview #

This is an adapter for the package database that connects it to Google Cloud Firestore.

This package works only in browsers. The package database_adapter_firestore_flutter can be used in Flutter.

Getting started #

1.Add dependency #

dependencies:
  database: any
  database_adapter_firestore_browser: any

2.Use it! #

import 'package:database/database.dart';
import 'package:database_adapter_firestore_browser/database_adapter_firestore_browser.dart';

Database getDatabase() {
  return FirestoreBrowser().database();
}
1
likes
100
pub points
20%
popularity

Publisher

dint.dev

An adapter for connecting 'package:database' to Google Cloud Firestore. Works only in browsers.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache 2.0 (LICENSE)

Dependencies

database, firebase, meta

More

Packages that depend on database_adapter_firestore_browser