title: then() syntax in Dart for non argument methods
body: <p>I have two methods to execute. I want to execute <strong>method1()</strong> then <strong>method2()</strong>. These two methods don't have any arguments only some conditions then what will be the syntax of my code?</p>
  <pre><code>Future method1() {
    //Something;
  }
  
  Future method2() {
    //Somthing;
  }
  
  method() {
    //Execute [Method1] then [Method2]
  }
  </code></pre>