title: List of Class Objects operation in Dart
body: <p>Have an issue in the below chunk of code.</p>
  
  <pre class="lang-dart prettyprint-override"><code>class Events
  {
   // some member variables
  }
  
  
  class SVList
  { 
    String name;
    int contentLen;
    List&lt;Events&gt; listEvents;  
  
    SVList()
    {
      this.name = "";
      this.contentLen = 0;
      this.listEvents = new List&lt;Events&gt;();
    }
  }
  
  class GList
  {
    List&lt;SVList&gt; listSVList;
  
    GList(int Num)
    {
     this.listSVList = new List&lt;SvList&gt;(num);   
    } 
  }
  
  
   function f1 ()
   {
     //array of class objects 
     GList gList = new GList(num);
   }
  </code></pre>
  
  <p>Not able to find "listEvents" member after GList constructor is called.  Am I missing anything here.</p>
  
  <p>Referencing <code>glist.listSVList[index]</code>  --> do not find member variable 'listEvents'. Any pointers appreciated.</p>
  
  <p>To elaborate , no member variable with 'glist.listSVList[index].listEvents' is found.</p>