传统的构造函数和JAVA一样,dart中可以使用和class名称相同的函数作为其构造函数, ... String? firstName; Student.fromJson(Map data) {
確定! 回上一頁