What is the colon after constructor Dart?

The part after : is called “initializer list . It is a , -separated list of expressions that can access constructor parameters and can assign to instance fields, even final instance fields. This is handy to initialize final fields with calculated values.10 May 2018

Sizin İçin Seçtik  Which management course is best in India?

Leave a Reply

Your email address will not be published. Required fields are marked *