title: Flutter Firestore Can I create collections using a Map
body: <p>my question is, can I create 1 document in multiple collections using a single:</p>
  <pre><code>
  firestore
    .collection('map')
    .doc('documentvariable')
    .set(data());
  </code></pre>
  <p>Where instead &quot;map&quot; would be an actual <strong>Map</strong> with list of String names for collections into which I would like to add the document.
  Reason why I chose a <strong>Map</strong> is because I need to be able to add more and more collections to it using UI.
  Is it possible and if so is there a better solution for this?</p>