title: Should i return a value for a Future<void> Function?
body: <p>In Dart, there are 2 options for functions that run asychronously, but whose return values are not supposed to be used. </p>
  
  <pre><code>Future&lt;Null&gt;
  Future&lt;void&gt;
  </code></pre>
  
  <p>Since Dart 2.0, it is often recommended to use void instead of Null in most cases (due to the warning that void types shouldn't be used). </p>
  
  <p>For these, a return type should not be required, but one could return all types. But what is the best practice here, should i still return something, should i end the function with a empty return (1), return null or something else (2) or should i just end the function (3)? Did i maybe miss any essential differences between the 3 options, supposing the return value doesnt get used (f.e. await exampleFunction() should in all cases wait till the function completes)? Is it essentially just code style?</p>
  
  <p>1)</p>
  
  <pre><code>Future&lt;void&gt; exampleFunction() async{
    ...
    return;
  } 
  </code></pre>
  
  <p>2)</p>
  
  <pre><code>Future&lt;void&gt; exampleFunction() async{
    ...
    return null;
  } 
  </code></pre>
  
  <p>3)</p>
  
  <pre><code>Future&lt;void&gt; exampleFunction() async{
    ...     
  } 
  </code></pre>