title: Parsing date in dart/Flutter to calculate day difference
body: <p>I am struggling to find a way to parse 2 YYYY-MM-DD dates in dart/Flutter. I need to find out whether a given date is before another date in terms of number of days in utc. If they are the same or it is in the future it should return false.  </p>
  
  <p>Thanks,</p>