title: Creating an instance of a generic type in DART
body: <p>I was wondering if is possible to create an instance of a generic type in Dart. In other languages like Java you could work around this using reflection, but I'm not sure if this is possible in Dart.</p>
  
  <p>I have this class:</p>
  
  <pre class="lang-dart prettyprint-override"><code>class GenericController &lt;T extends RequestHandler&gt; {
  
      void processRequest() {
          T t = new T();  // ERROR
      }
  }
  </code></pre>