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