title: in Dart, problems with static method when called from variable
body: <p>have class <code>Klass</code> with static method <code>fn1</code></p>
  
  <pre class="lang-dart prettyprint-override"><code>class Klass {
    static String fn1() =&gt; 'hello';
  }
  
  &gt; Klass.fn1(); //  hello
  </code></pre>
  
  <p>but when <code>Klass</code> is assigned to a variable, calling the method <code>fn1</code> fails</p>
  
  <pre class="lang-dart prettyprint-override"><code>var k = Klass;
  
  &gt; k.fn1() // "Unhandled exception: Class '_Type' has no instance method 'fn1'.
  </code></pre>
  
  <p>don't quite know what's going on here</p>