write data firebase kotlin code example
Example 1: write data firebase kotlin
dbRef = database.getReference();
dbRef.child("test").child("data").child("message1").setValue("Goodbye");
Example 2: write data firebase kotlin
dbRef = database.getReference("/test/data/message1");
dbRef.child("test").child("data").child("message1").setValue("Goodbye");