title: static constructor in Dart
body: <p>How to write static constructor in Dart?</p>
  
  <pre><code>class Generator
  {
     static List&lt;Type&gt; typesList = [];
  
     //static
     //{ /*static initializations*/}
  
  }
  </code></pre>