FS DB Creating just collection

Advertisements
        //Getting instance
        FirebaseFirestore db = FirebaseFirestore.getInstance();


        //Getting reference of collection
        CollectionReference ref = db.collection("users");