firedart_repository

Last updated:

0 purchases

firedart_repository Image
firedart_repository Images
Add to Cart

Description:

firedart repository

Firebase Repository for Dart #

Use this database adapter for firebase to integrate with database_repository
Using Flutter? #
Use firebase_database_repository as it is optimized for usage with Flutter
How to install #
dart pub add firedart_repository
copied to clipboard
How to use #
void main() async {
// You can find this in your firebase project settings
final myFirebaseProjectId = "";

final myDatabaseAdapter = FiredartDatabaseAdapter(firebaseProjectId: myFirebaseProjectId)

// Register a Database Adapter that you want to use.
DatabaseAdapterRegistry.register(myDatabaseAdapter);

final repository = DatabaseRepository.fromRegistry(serializer: mySerializer, name: 'firebase');

// Now use some methods such as create() etc.
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.