Android学Dart学习笔记第十六节 类-构造方法在dart中,允许多种形式的构造方法,上篇类中,也有涉略。在这篇文章中我们进行深入的学习。Generative constructors、Default constructors、Named constructors、Constant constructors、Redirecting constructors、Factory constructors、Redirecting factory constructors以及Constructor tear-offs 这些都是官方文档中给到的构造方法的类型,下面