flutter constructor and destructor code example
Example: constructor flutter
class Student{
Student(int enNum){
print(enNum);
}
}
main(){
var myStudent = new Student(15);
}
class Student{
Student(int enNum){
print(enNum);
}
}
main(){
var myStudent = new Student(15);
}