title: Why does dart not allow method overloading?
body: <p>I tried to use method overloading in some dart code and quickly learned that overloading is not offered in dart.</p>
  <p>My questions are: why is it not offered, and what is the recommended alternative? Is there a standard naming convention since methods that do the same thing but with different inputs must have different names?</p>
  <p>Is it standard to use named parameters and then check that the caller has supplied enough information to complete the calculation?</p>
  <p>Say I have a method that returns how much money someone makes in a year, called <code>yearlyIncome</code>.</p>
  <p>In Java, I would create a method like this</p>
  <pre><code>double yearlyIncome(double hourlyRate, double hoursWorkedPerYear)
  </code></pre>
  <p>And maybe another method like this</p>
  <pre><code>double yearlyIncome(double monthlyRate, int monthsWorkedPerYear)
  </code></pre>
  <p>and so on. They're all used to calculate the same thing, but with different inputs. What's the best, standardized way to do this in dart?</p>
  <p>Thanks so much in advance.</p>