firestore unique id generator code example Example: firestore generate unique id let newUid = AngularFirestore.createId();