title: Firestore: Some values from my flutter app are not uploaded to Firestore database
body: <p>In my flutter app, user is supposed to enter personal data and then it's getting sent over to my Firestore database. The problem is that <code>apparently</code> some data is not getting uploaded and <code>shows null</code> at the database webPage. It's quite interesting, because <code>some other data of the same type is getting uploaded despite the problem</code>.
  <code>No memory leaks</code> were found by me. It was checked by printing out the values before sending them out to the database.  </p>
  
  <pre><code>class AdditionalInfo {
  
    final GeoPoint coordinates;  
    final String addressName;
    final String timeAndDaysBegin;
    final String timeAndDaysEnd;
    final String daysOfTheWeek;
  
    AdditionalInfo({
      @required this.coordinates,
      @required this.addressName,
      @required this.timeAndDaysBegin,
      @required this.timeAndDaysEnd,
      @required this.daysOfTheWeek,
    });
  
   Map&lt;String, dynamic&gt; toJson() =&gt;
    {
      'coor': coordinates,
      'adrsNm':addressName,
      'tmNdDsBgn' : timeAndDaysBegin,
      'tmNdDsNd': timeAndDaysEnd,
      'dsFThWk':daysOfTheWeek,
    };
  }
  </code></pre>
  
  <p>Then I create object that has that <code>AdditionalInfo</code> class and upload it to Firestore - it's simple as that, but some data is getting lost. </p>