title: How to convert DateTime to Duration in flutter?
body: <p>I have trouble to convert input like 72:46:00.15768  to duration like 4366 minutes</p>
  
  <p>I tried this but return null after trying the .inMinutes()</p>
  
  <pre><code>var _lastConso = lastConsoString3!=null ? DateTime.parse(lastConsoString3) : DateTime.now(); 
  Diff = DateTime.now().difference(_lastConso);
  DurationDiff=Diff.inMinutes;
  </code></pre>