Skip to content

MoniKode-Mobile-Solutions/DatabaseUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages