📜  Flutter 中的构造函数 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:22.086000             🧑  作者: Mango

代码示例1
Customer(this.name, this.age, this.location);

Customer.withoutLocation(this.name, this.age);

Customer.empty() {
  name = "";gd
  location = "";
}
cfgdfgdfgdfggdfgdfdfgdfgdggdfgdfgdf