Do you need to use the “new” keyword in Dart?

Posted by Jennifer | Updated on | Dart

Do you need to use the “new” keyword in Dart?

The const keyword can, however, change a value that would not be a const implicitly to a const.
So you will have to explicitly specify const when needed.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers