title: How can I do automatic uid for docs in firebase?
body: <p>Im trying to do a group system for a flutter app and I need to store it in firebase, and every group has his own ID, it's called &quot;groupID&quot;. How to do programmatically that every new group create has his &quot;groupID&quot; create automatically. Is organized like this:</p>
  <p><a href="https://i.stack.imgur.com/IK1YG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IK1YG.png" alt="enter image description here" /></a></p>
  <p>In other words, how can I do in the code to fill the Groups column?</p>