title: How to get all records from Yesterday's date in Firestore Flutter?
body: <p>I want to fetch all the documents from Yesterday's date. Currently, I managed to get all the data from Today's date with the help of <code>where</code> and <code>isEqualTo</code> condition. But I'm not able to get the data from Yesterday's date.</p>
  <p>Here is my code snippet from which I get Today's documents.</p>
  <p>Thanks for the help.</p>
  <pre class="lang-dart prettyprint-override"><code>final uid = getCurrentUID();
  
  final QuerySnapshot result = await FirebaseFirestore
                                .instance
                                .collection('School')
                                .doc(uid)
                                .collection('School_Data')
                                .where('Todays_Date', isEqualTo: todaysDate)
                                .get();
  </code></pre>