title: how to retrieve map of map object data from firebase
body: <p>I am trying to retrieve the values of doctors map object as list of {times, email} for a specific date.</p>
  <p><a href="https://i.stack.imgur.com/wSbfI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wSbfI.png" alt="enter image description here" /></a></p>
  <p>this is the code i have tried so far:</p>
  <pre><code>Stream&lt;List&gt; fromDateToList(int day, int month, int year){
  var val = usersInfoCollection
      .doc(uid).get();
  Map&lt;String, dynamic&gt; data = {};
  return usersInfoCollection
      .doc(uid)
      .snapshots()
      .map((doc) {
    if (doc['doctors'] is Map) {
      return doc['doctors'].values.toList();
    } else {
      return [];
    }
  });
  </code></pre>
  <p>}</p>