flutter constructor isnt accepting 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);
}