database_utils 0.0.4 copy "database_utils: ^0.0.4" to clipboard
database_utils: ^0.0.4 copied to clipboard

A full static class to manage the database operations in Flutter using Firebase Realtime Database.

Database Utils #

A full static class to manage the database operations in Flutter using Firebase Realtime Database.

Getting Started #

To use this class, you need to add the following dependency in your pubspec.yaml file:

dependencies:
  flutter:
    sdk: flutter
  database_utils: ^0.0.4

Then, you need to import the class in your file:

import 'package:database_utils/database_utils.dart';

Usage #

To use the class, you need to create an instance of it:

DatabseReference db = DatabaseUtils.ref(); // get the reference of the root of the database

You can also use the following methods:

DatabseReference db = DatabaseUtils.ref("path/to/child/in/database"); // get the reference of the child in the database
1
likes
140
pub points
43%
popularity

Publisher

verified publishermonikode.com

A full static class to manage the database operations in Flutter using Firebase Realtime Database.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

firebase_database, flutter

More

Packages that depend on database_utils