creating a firebase map in flutter code example
Example 1: how to put firebase config in a sperate file react native
const firebaseApp = firebase.initializeApp(firebaseConfig);
export default firebaseApp;
Example 2: flutter firebase database medium
//you can use "push" if you want an automated id, I'm giving my document id here.FirebaseDatabase.instance.reference().child('recent').child('id').set({'title': 'Realtime db rocks','created_at': time});