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