title: how can i initialize super class variables in dart language?
body: <p>Simply i have to classes child and parent class <br /> i am new in dart language all i need to assign super class properties from child class</p>
  
  <p>this is super class structure</p>
  
  <pre><code>class Trip{
    final int id;
    final String title;
    final double price;
    Trip({this.id,this.title,this.price});
  }
  </code></pre>
  
  <p>and this is child class</p>
  
  <pre><code>class FullTrip extends Trip{
    final String data;
    FullTrip({this.data}) : super(id:id,title:title,price:price);
  }
  </code></pre>
  
  <p>sure this not working at all<br /> 
  the question is : how can i initialize instance from FullTrip and pass variable for FullTrip and Trip(super class)<br />
  thanks in advance</p>